Dropdown item on hover not rendered properly in Chromium-based browsers.
See original GitHub issueDescribe the bug
When hovering over an item in a dropdown menu, the background of the item overlaps with the border of the menu. Which side overlaps depends on menu alignment (e.g. alignRight
).
To Reproduce
Steps to reproduce the behavior:
- Go to https://react-bootstrap.github.io/
- Click on version dropdown menu.
- Hover over any item in the menu.
- Observe the right side of the hovered item.
Reproducible Example
https://codesandbox.io/s/icy-violet-2mtsp
Expected behavior

Screenshots

Environment
- Windows 10
- Chrome 81
- Edge 81
- React-Bootstrap 1.0.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Last dropdown item not highlighted on mouse-hover - chromium
Click on any dropdown arrow to open the dropdown list 3.Mouse hover on all the dropdown items and observe. The last dropdown item...
Read more >Menu/drop down items disappear as mouse hover over it.
2. Right Click anywhere. Run down the menu. 3. What is the expected behavior? Text should remain as it and shouldn't disappear as...
Read more >527927 - Chrome 45 broke my drop down menu items
1. Go to URL zaxwerks.com 2.Hover on Products menu 3.Observe no items shown. This is reproducible on ALL OS and is regression issue...
Read more >hover menus can't always be easily used with touch input
2. Click on dropdown menu titled "WithoutLink" and notice drop down menu works fine. 3. Drop down menu titled "WithLink", instead of drop...
Read more >All tooltips are missing, including alt= tags, title ... - Monorail
I hover over a link or image; a tooltip of the title= tag should appear. ... I have this problem on dropdown lists,...
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 Free
Top 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
@kosmiq, you nailed it. I am using 4K with 150% scaling.
Given that this issue is only happening during scaling, this may be a bug in Chromium (related bug?). Since this issue does not appear to be specific to this project, I feel that it can be closed.
Is this happening with upstream Bootstrap, or is it only with React-Bootstrap?