[Dropdown] - Scrollbar should be always visible on mobile
See original GitHub issueSteps to Reproduce
- Create a dropdown menu with more than 4 items.
- Open the dropdown on mobile device (maybe Android works, I have tested iOS only).
- Be shocked that apparently only four options are available!
Expected The scrollbar inside the dropdown menu should be visible to indicate that there are more than 4 items to choose from.
Result The dropdown menu shows only 4 items without any hint that there are more. Only after touching the menu it becomes clear that you can scroll down for more items.
Testcase http://jsfiddle.net/j08rb5jr/ http://jsfiddle.net/j08rb5jr/embedded/result/ (Mobile link)
Even the scrolling
variation which sounds as it would solve this, shows no scrollbar without touching the dropdown menu ☹️ (second example in test case, it just shows 6 instead of 4 items by default).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Making the main scrollbar always visible - Stack Overflow
This will always show an ACTIVE vertical scroll bar in every page, vertical scrollbar will be scrollable only of few pixels.
Read more >How To Force (Always Show) Scrollbars With CSS - W3Schools
Learn how to always show scrollbars with CSS. ... Force / Always Show Scrollbars. Add overflow: scroll; to show both the horizontal and...
Read more >Scrollable nav and dropdown menu in mobile - Forum | Webflow
Hi, my drop down menu on my mobile phone does not scroll down fully. I have set the Height of the NavMenu to...
Read more >overflow - CSS: Cascading Style Sheets - MDN Web Docs
The overflow CSS shorthand property sets the desired behavior for an element's overflow — i.e. when an element's content is too big to...
Read more >Prototype scrolling with overflow behavior - Figma Help Center
Animated image showing a vertically scrolling prototype in presentation view. Note: You won't always need to apply overflow behavior to mimic vertical ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We prepared a little swipe animation to the right of the dropdown (where the scrollbar should appear) in the community fork Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/1651 You only have to add
scrollhint
class to the dropdown menuCheck here (using an iOS device): https://raw.githack.com/lubber-de/fomantic-ui/jsfiddlefullscreen/jsfiddle/#!lubber/2mcak7xr/167/
As a fast workaround, and if someone wants to submit a PR. To have the 1/2 of the next item solution to indicate there is more, change the max-height from: