Cadiac / sanuli

A finnish version of a popular word guessing game, written in Rust.
https://sanuli.fi
MIT License
64 stars 6 forks source link

Improve user select prevention for keyboard on iOS #13

Closed peritpatrio closed 2 years ago

peritpatrio commented 2 years ago

iOS needs the -webkit prefix to actually disable user’s selection.

See: https://caniuse.com/mdn-css_properties_user-select

Cadiac commented 2 years ago

Perfect! I forgot about this, I'm using android myself but even though I was made aware of this issue early on I never remembered to investigate it.