cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

scrollbar at mobile device

SOLVED
mn1
Level 8

scrollbar at mobile device

Hey there,

I have added a label widget with a lot of text. When i view the preview there is shown a scrollbar to scroll up and down the text. If i upload the project, there is no scrollbar at the mobile device. Why is the scrollbar only visible in the preview? What function do i have to add to make the scrollbar visible at the mobile device, too?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: scrollbar at mobile device

Hi @RolandRaytchev 

Now I found a solution!

If you look at this page:

https://forums.asp.net/t/2086244.aspx?Scrollbar+visiblelity+don+t+work+correctly+in+mobile+browsers

and add the code to your styles (not in a class) then I can see a scrollbar on android devices 

13 REPLIES 13

Re: scrollbar at mobile device

Hi @mn1 ,

 

I know that there is similar issue with a panel  which could be scrolled in  preview and on android but this will not work on IOS. What is your mobile device IOS, Android ...?

Re: scrollbar at mobile device

My mobile device is android. I have a secound device which is windows.

Re: scrollbar at mobile device

Hi @RolandRaytchev,

 

did you already found a reason why the scrollbar is not shown on my mobile device? 

Is there a possibility to change the color or size of the scrollbar? 

Thanks for your help!

Re: scrollbar at mobile device

I am sorry for the delay. I think should be possible to be solved by usage of some css style.

Could you provide the simples possible project which shows the issue so I could test it on android device?

Thanks!

 

Re: scrollbar at mobile device

Thanks for response.

I thing the easierst way is to take a popup widget and make the size small. Then add a label widget with a long text. In the preview there will be a scroll bar to the the whole text but if you upload it you can scroll but did not see a scrollbar.

Tanks for help.

Re: scrollbar at mobile device

Hi @mn1,

 

now I tested the problem according your description in Preview:2019-02-21_18-14-51.gif

 "take a popup widget and make the size small. Then add a label widget with a long text. In the preview there will be a scroll bar"

============

So tested it in preview - the long text is displayed with  scrollbar /window - to scroll with a mouse

 

 

 

 

 

 

 

 

 

 

 

 

So now tested it on Android and id have the following appearance:

 

2019-02-21_18-21-12.gif

So now tested it on Android and id have the following appearance:

so as shown on the picture I am able to scroll the text by tap on the label widget and move the finger down or up. This scrolled the text in the label widget up or down. Of course, there are not displayed any scrollbars, but I think this will make sense only on device which have a pen.

I tested with Vuforia Studio 8.4 and Android on Samsung Galaxy S9+

So my question is this behavior that what you reported or is something different?

Thanks!

 

 

 

 

Re: scrollbar at mobile device

Hi @RolandRaytchev 

This is what I reported. But i would like to have a scrollbar at mobile device as well. I created a step menue on a popup. If there is no scrollbar the user does not know that there are more steps then the ones he will see without scrolling. To give him a hint that he can scroll to see the other stepts it would be nice if the scrollbar appears on the mobile device as well.

Re: scrollbar at mobile device

So, my suggestion was to define some css /style and try to change the behavior. So after some search on google found the following statement

"Apple made the conscious decision to HIDE scrollbars in iOS at the system level until there's an interaction. Mac OS (including Safari) and Android quickly followed that decision."

So  it means as I already suspected it seem to be an issue which is not related to Vuforia Studio but more than a platform specific issue.

In this post was a reference to possible workaround

Re: scrollbar at mobile device

Hi @RolandRaytchev 

Thanks for your answer. Did you tested it?