-
Notifications
You must be signed in to change notification settings - Fork 78
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
iOS #13
Comments
This looks similar to #7 There are two reasons that this could happen:
|
This might help: On a different website that I'm developing (using ES6, but not Vue), I got this working on iOS by using the touchstart event inside the window load. Seems like iOS devices don't bind the events to the window until its load. Check the code below: The |
Any news on this? |
Anything?? |
Unfortunately, I don't have an apple device to test on, so I still don't have a solution. |
@simplesmiler, I might try to help if I have time to which will not be soon (next weeks). If you wish to, I can try to help guide you through the issue fix (which I've done multiple times, but not using Vue). The main problem is how the event is attached. On iOS devices it's a bit more tricky. Check the code below: |
FWIW, the JS fiddle linked from your NPM page; https://jsfiddle.net/simplesmiler/4w1cs8u3/ works just fine on the latest iOS. |
Yes but still, older versions of the OS should be supported. |
👍 |
Now there is an iPad accessible to me, and I will try to hunt down the issue this weekend. |
Great @simplesmiler ! Check this code: https://cl.ly/012x151a1b0T |
@simplesmiler any news? |
So I've made a round of tests on iPad 4 with iOS 10.3.3 using Safari. From what I could gather:
Gist: https://gist.github.com/simplesmiler/b4f1c29cc5251d574014d85c44478e66 I invite everyone (especially @sanyashvets and @bmfteixeira) to test it and see if it works. If it doesn't, then I'd like to know what hardware and software you are using. |
Related to this issue : simplesmiler#13
I have a similar pb on iPad (iOS 10.3.3) on my application with vue-clickaway (version 2.2.2). I create a PR to fix this issue. |
I've run into the same issue and switched to v-click-outside instead. Works fine for me and seems to have more active development. |
Event doesnt fires on iOS. I checked it on iPad.
( I have modal with
v-click-away
installed on modal's content and in all other devices everything is fine, but in iPad case event doesnt fired up.)I have no other iOS, so I cant check it. If I open chrome devtools and choose iPad - it works
The text was updated successfully, but these errors were encountered: