-
Notifications
You must be signed in to change notification settings - Fork 32
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
Safari widget closing not working #28
Comments
Hmm, I've heard of this issue before but I don't currently have any devices capable of running Safari on hand to reproduce it. Would you be up for trying a few things to try and pinpoint what's causing it? Looking at the related css classes, the most likely culprit is the Another idea might be to try commenting out the lines of the noselect class which prevents selecting text when dragging, maybe one of the webkit ones is interfering with touch events. If neither of these works then we'll have to get more creative I guess 😄 |
I tried to test the changes but wasn't really successful Trying pointer-events:
Trying noselect class:
is there anything else i could test? |
Hmm well I've set up a branch |
Ok if it really is magnifying glass related, then it may require some kind of preventDefault in the event chain that's calling it by default. I've pushed another change that adds the closing listeners directly onto the elements, and stops any propagation. |
@mspringer1 I've mentioned this issue to a friend of mine who has a mac, and it may turn out to be as simple as changing |
I just tested the updated |
Tried #29 and this fix also working on iPhone or iPad |
When adding a new widget or configuring an existing widget in Safari on iOS, tapping on the background to close the setup modals does not work. The only way to get back to the default view is to reload the page, restart the web app or to remove the widget.
Tested under iOS 16.5.1 on an iPhone and iPad.
The text was updated successfully, but these errors were encountered: