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
bug: Mobile accessibility #217
Comments
Hi, I'm from the VueUse team. I contributed onClickOutside to the library. I would like to give you a brief history of how it works. First, onClickOutside use a The reason we use the Actually, we already have a workaround for that Safari issue but apparently, it doesn't work when |
That's some super valuable insight @sibbng ! Appreciate it! |
Can you try adding that line to where it is appropriate? document.documentElement.addEventListener('click', () => {}) This should fix the outside click issue on Safari iOS. If it works for you I can move this fix to our iOS workaround. |
hi @sibbng thanks so much for this. This is a great help!. I'm not entirely sure what do you mean and where would we put it. Do you want to create a PR for the fix? |
Hi, I pushed a fix in VueUse. The fix is released as part of v10.3.0. Based on my tests, it fixes the outside click issues on iOS. Can you confirm that the outside click issues have been resolved for you as well? |
Thanks so much! Fixed! |
Several issues I come across quickly when trying with mobile and safari
Docs
The text was updated successfully, but these errors were encountered: