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
Tapping Popover or Tooltip with trigger="click" on mobile doesn't open it #1425
Comments
For Popovers/Tooltips with trigger="click" or trigger="legacy", touches on mobile were triggering touchstart and then click, which caused them to open briefly and then immediately close. This removes the touchstart event handling to fix behaviour on mobile.
For Popovers/Tooltips with trigger="click" or trigger="legacy", touches on mobile were triggering touchstart and then click, which caused them to open briefly and then immediately close. This removes the touchstart event handling to fix behaviour on mobile.
For Popovers/Tooltips with trigger="click" or trigger="legacy", touches on mobile were triggering touchstart and then click, which caused them to open briefly and then immediately close. This removes the touchstart event handling to fix behaviour on mobile.
Same thing here. |
…eactstrap#1426) For Popovers/Tooltips with trigger="click" or trigger="legacy", touches on mobile were triggering touchstart and then click, which caused them to open briefly and then immediately close. This removes the touchstart event handling to fix behaviour on mobile.
I'm still having this issue, is the fix released on npm ? |
Still having this issue too: reactstrap 8.0.0 Also: page turns unresponsive... |
Seeing this issue as well with the Tooltip component and 8.0.0. If If https://stackblitz.com/edit/reactstrap-v8-otxfh4?file=Example.js |
Forcing a delay e.g. In mobile, |
Still having this issue. This also crashes the mobile browser. You can try it by clicking the tooltip on mobile multiple times. |
This is an issue even in the case of Popover. However my trigger type was legacy. @jhblacklock your solution worked for me . However, is it the same reason that you've mentioned above even in the legacy case? Thank you. |
That is a good question. I'm not sure about that @13it235. But if the solution worked, then chances are it's the same issue 🤷♂ 😆 |
Tooltip
,Popover
(viaTooltipPopoverWrapper
)#7.1.0
es
#x.x.x
#4.2.1
What is happening?
Tapping an UncontrolledPopover with trigger of
click
orlegacy
causes it to open briefly but close soon after.What should be happening?
The popover should remain open
Steps to reproduce issue
Code
https://stackblitz.com/edit/reactstrap-cxz218?file=Example.js
The text was updated successfully, but these errors were encountered: