question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropdown item on hover not rendered properly in Chromium-based browsers.

See original GitHub issue

Describe 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:

  1. Go to https://react-bootstrap.github.io/
  2. Click on version dropdown menu.
  3. Hover over any item in the menu.
  4. Observe the right side of the hovered item.

Reproducible Example

https://codesandbox.io/s/icy-violet-2mtsp

Expected behavior

expected

Screenshots

actual

Environment

  • Windows 10
  • Chrome 81
  • Edge 81
  • React-Bootstrap 1.0.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
khergecommented, Apr 20, 2020

@kosmiq, you nailed it. I am using 4K with 150% scaling.

  • The issue disappears if I set scaling to 100%.
  • The issue also appears upstream on Bootstrap’s own website.

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.

0reactions
taioncommented, Apr 20, 2020

Is this happening with upstream Bootstrap, or is it only with React-Bootstrap?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found