Long Menu not accessible on Chrome
See original GitHub issueWhen a Menu list extends beyond the bottom of the screen clicking on any item after scrolling down the menu does not select the item, but rather snaps the menu list back to the top.
This is observed only on Chrome only. I tested on Chrome Version 80.0.3987.163 (Official Build) (64-bit). The menu seems to work fine on Firefox and Safari.
Expected Behavior
Behavior of Menu on Chrome should match Firefox and Safari.
Steps to Reproduce
Create a long menu. Clicking on an initially visible item works. However, try to scroll the menu and click on an element at bottom and it will not be selected.
export function MenuTest(props) {
const [item, setItem] = useState(1)
const menuItems = []
for (let i=0; i<100; i++) {
menuItems.push({label: i+1, onClick: () => setItem(i+1)})
}
return (
<Box>
<Box direction={'row'}>
<Text>Lower menu not acessible</Text>
<Menu
label={item}
items={menuItems}
/>
</Box>
</Box>
)
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Menus Not Working - Google Chrome Community
The drop down menus for different websites on the initial google search page are not working, like if you were to search "movie...
Read more >Chrome long-press context menu stopped working
I've never encountered this problem, but what I'd try first is to clear the cache. Go to Settings/Apps/All, select Chrome, and tap Clear...
Read more >Topic: Why don't my menus show on Chrome? - WordPress.com
The menu shows up. When I go to the Edit Menus page in chrome, it doesn't show my menus. This cannot be the...
Read more >My bootstrap collapse menu not working on Google Chrome
If your intention is to have the menu opened on first load (or resize) use in your html: <div class="nav-collapse collapse in" style="height:auto;">....
Read more >Where Is the Chrome Menu Bar? - Nira
You can access the menu by clicking the “three vertical dots” at the top ... of the OS, not Chrome, they're just offered...
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
Just tested, #4096 addresses the issue. This can be closed.