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

Tooltip not closing on mobile #1004

Closed
ntucakovic opened this issue May 4, 2018 · 6 comments · Fixed by #1105
Closed

Tooltip not closing on mobile #1004

ntucakovic opened this issue May 4, 2018 · 6 comments · Fixed by #1105

Comments

@ntucakovic
Copy link

ntucakovic commented May 4, 2018

Issue description

Tooltip can't close on mobile devices when opened on hover event.

  • components: Tooltip (probably Popover as well, haven't tried)
  • reactstrap version #5.0.0 also on #6.0.1
  • import method es
  • react version #16.3.1
  • bootstrap version #4.0.0

What is happening?

Compare the behavior between the two on mobile (bugs on both Android and iOS).
Reactstrap: Tooltip is opened on hover event and you can't close it.
Bootstrap: Tooltip is opened on click only and can be closed when clicked away.

https://reactstrap.github.io/components/tooltips/
https://getbootstrap.com/docs/4.1/components/tooltips/

What should be happening?

Tooltip should close when clicking away, anywhere on the page.

@ntucakovic
Copy link
Author

This is also happening on latest Reactstrap version, v6.0.1. Updated issue to reflect that.

@Kofaka
Copy link

Kofaka commented May 30, 2018

Have the same thing.

@olefrank
Copy link

olefrank commented Jun 11, 2018

Anyone found a solution to this yet? (I'm using the UncontrolledTooltip component.

@nathanbacon
Copy link
Contributor

Just submitted a PR #1083 that fixes this.

@ntucakovic
Copy link
Author

Any update on when this will be released? I got an email that it's merged :)

@fonov
Copy link

fonov commented Jul 5, 2018

Thanks you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants