connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10.01k stars 579 forks source link

Can't edit in form fields (inputs) in Safari or WKWebView #80

Closed bradparks closed 8 years ago

bradparks commented 8 years ago

I just noticed that in Safari or an embedded WKWebView that I can't edit in form fields.

Just load up the sample page in Safari, and try and put data in the inputs in the "forms" sample.

http://photonkit.com/components/

I found this was being stopped by "-webkit-user-select: none;", and switching it to "-webkit-user-select: text;" made it work. I'm actually using this with the React version of your lib:

http://react-photonkit.github.io/#/components

so I edited the file there, and will mention this there as well. Thanks for the great lib!