Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UncontrolledTooltip causes infinite loop when wrapper has overflow-x:auto #1587

Closed
amillward opened this issue Jul 21, 2019 · 4 comments
Closed

Comments

@amillward
Copy link
Contributor

  • components: UncontrolledTooltip
  • reactstrap version #8.0.0
  • import method umd/csj/es
  • react version #16.8.6

What is happening?

When an element with overflow-x:auto has an attached UncontrolledTooltip, triggering the tooltip causes an infinite loop, locking the browser

What should be happening?

The tooltip should show

Steps to reproduce issue

Add overflow-x:auto to a wrapper containing an element with a tooltip

Error message in console

None

Code

CodeSandbox: https://codesandbox.io/s/polished-framework-2mtgx

@belliAndrea
Copy link

Had the same problem.
I think it's related to the container's height. If i put a min-height on the container enough for the tooltip to be displayed it seems to work fine.

@YassienW
Copy link

#1488 #1482 Related?

@dumbmatter
Copy link

Does #1669 fix this?

@GoPro16
Copy link
Member

GoPro16 commented Feb 26, 2020

This looks to be fixed in the latest version if you upgrade your reactstrap version in that example. Going to close but can re-open if anyone sees otherwise.

@GoPro16 GoPro16 closed this as completed Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants