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 Device Safari #246

Closed
HannesEURESA opened this issue Aug 18, 2022 · 2 comments
Closed

Tooltip not closing on mobile Device Safari #246

HannesEURESA opened this issue Aug 18, 2022 · 2 comments
Assignees
Labels
bug Something isn't working v1.6.3 Issues and tasks for v1.6.3 release

Comments

@HannesEURESA
Copy link

HannesEURESA commented Aug 18, 2022

The Tooltip is not closing after opeining on mobile Device on Safari Browsers. Also not on your own Site.

Expected behavior
Clicking away to close the tooltip. Or is there a way to give the Tooltip a close Button?

Smartphone (please complete the following information):

  • Device: [e.g. iPhone 11 MPro Max, iPhone 12 pro Max IPhone 13 & 13 pro Max tested]
  • OS: [Latest 15.6]
  • Browser chrome, safari, firefox
@HannesEURESA HannesEURESA changed the title Tooltip not closing on mobile Device Tooltip not closing on mobile Device Safari Sep 23, 2022
@zoltanszogyenyi
Copy link
Member

Hey @HannesEURESA,

Thanks for reporting - I'll test this out myself and provide a fix if needed.

@zoltanszogyenyi zoltanszogyenyi added bug Something isn't working v1.6.3 Issues and tasks for v1.6.3 release labels Dec 7, 2022
@zoltanszogyenyi zoltanszogyenyi self-assigned this Dec 7, 2022
@zoltanszogyenyi
Copy link
Member

Hello @HannesEURESA,

I've fixed this issue (db093b9) by introducing an event checking for clicks outside of the tooltip component. This didn't work on Safari because on mobile devices it does not support focus and blur events on the button component.

This will be released in the upcoming v1.6.3 version of Flowbite.

Cheers,
Zoltan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1.6.3 Issues and tasks for v1.6.3 release
Projects
None yet
Development

No branches or pull requests

2 participants