jQuery UI Widgets › Forums › Lists › ListBox › Scrollbar size on mobile browsers
Tagged: jqxListBox, ListBox, mobile browser, scrollbar, size
This topic contains 7 replies, has 3 voices, and was last updated by Chris99 9 years, 10 months ago.
-
Author
-
Hi,
Can I ask why it is not possible to reduce the scrollbar size on mobile browsers? I have found an older posting http://www.jqwidgets.com/community/topic/change-scrollbarsize-for-mobile-safari/ but when using PhoneGap to produce a mobile app experience, the scrollbar is generally not used for scrolling per se. It tends to be used as a visual indicator of where in a list the user is. Scrolling itself is normally performed using up and down touch actions on the list.
I hope this makes sense.
Thanks,
Chris
Hello Chris,
There are no properties for changing scrollbar size. You also may look at the following forum topic which contains more information: http://www.jqwidgets.com/community/topic/scroll-issue-on-mobile-safari/#post-57573.
Best Regards,
NadezhdajQWidgets team
http://www.jqwidgets.com/Hi Nadezhda,
Your API documentation states that both list box and panel have a property called scrollBarSize. I don’t know if this was added since Peter replied to the posting you outlined?
Cheers,
Chris
Hi Chris,
Sorry, about my colleague’s answer. There is indeed scrollBarSize property and it’s been there for a long time. However, it affects the desktop browser’s display. The scrolling on mobile devices is not through the ScrollBar. It’s by touching the content and moving the finger up/down.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Hi Peter,
I appreciate this, which is why I want to narrow the scrollbar width on a mobile device down to just a few pixels. This will show the user where they are in their list, and as you point out they will then scroll by touching the content and moving up or down.
It seems currently on mobile you have a large scrollbar which you do not need to touch, and on the desktop you can set it to really small when you do need to use it. I can’t grasp why there is this limitation on mobile devices?
Cheers,
CHris
Hi Peter,
Is it possible you could comment on my earlier response, as I do not understand the mobile limitation of the scrollbar size.
Thanks,
Chris
Hi Chris,
Unfortunately, we don’t have a setting in this particular widget which changes the size of its mobile scrollbars.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Hi Peter,
I understand that the scrollbar sizes on mobile cannot be altered, I’m just not sure why.
Thanks again for your time. I’ll keep my fingers crossed for a future version 🙂
Cheers,
Chris
-
AuthorPosts
You must be logged in to reply to this topic.