walfie / gbf-raidfinder

Granblue Raid Finder (Archived: Granblue no longer has raid tweets)
https://gbf-raidfinder.aikats.us
MIT License
206 stars 106 forks source link

iOS Safari clipboard copy #111

Closed luminairre closed 7 years ago

luminairre commented 7 years ago

On iOS Safari (10.3, since 10.0)

walfie commented 7 years ago

So I actually don't have an iOS device to test on.

Can someone confirm whether the following example copies text to the clipboard on iOS? http://output.jsbin.com/vorofub

luminairre commented 7 years ago

Nope it didn't work, same problem as what I have described, here's a few scripts that are working:

As for the zoom, iOS device zooms in when you focus on input (for accessibility reasons they say..). This is a long thread about it, but in the newer iOS, you need to use the script that disables zoom while on focus (and enable them again on blur).

walfie commented 7 years ago

Whoops, I based it on that same stackoverflow answer but forgot to actually update the example to use the newly-added function. Can you try again?

Also updated the example to have the input element font size set to 16px

luminairre commented 7 years ago

Working fine! Both copy and zoom problem is fixed! Thanks!

walfie commented 7 years ago

🆒❗️ I will try to work on adding this functionality to the code tomorrow.