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

Click Outside broken on iOS #1707

Closed
kevinmlong opened this issue Jul 23, 2022 · 1 comment · Fixed by #1712
Closed

Click Outside broken on iOS #1707

kevinmlong opened this issue Jul 23, 2022 · 1 comment · Fixed by #1712
Assignees

Comments

@kevinmlong
Copy link

kevinmlong commented Jul 23, 2022

What package within Headless UI are you using?

@headlessui/vue

What version of that package are you using?

v1.67

What browser are you using?

Safari Mobil on iOS 15

Reproduction URL

https://github.com/kevinmlong/headlessui-dialog-bug

Describe your issue

Clicking outside a dialog does not close the dialog. Functionality works fine on a desktop browser, but on iOS the touch event outside of the dialog (on the backdrop) does not close the dialog.

Steps to Reproduce:

  • Clone repo
  • Run npm install
  • Run npm run dev
  • Test functionality in a desktop
  • Test functionality on a device by visiting {{IP-ADDRESS}}:{{PORT}} provided by Vite in terminal
@RobinMalfait
Copy link
Collaborator

Hey! Thank you for your bug report!
Much appreciated! 🙏

This should be fixed by #1712, and will be available in the next release.

You can already try it using:

  • npm install @headlessui/react@insiders.
  • npm install @headlessui/vue@insiders.

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

Successfully merging a pull request may close this issue.

2 participants