-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
CSS Hack to fix safari text inputs #3613
Conversation
Awesome Find. I believe it has been fixed in the new version. @Jag96 here is trying to update the lib. So maybe, in that case, we don't need it at all. |
Did you see something about this in the changelog? |
I haven't checked but It seems a major problem that I think should have been addressed. Also, we saw one more bug which was fixed in the new version on RN-web so I guessed, but still a belief. 😄 |
Okay, well @Jag96 if/when we upgrade RNW let's try to remember to check if we can remove this CSS hack. |
It might not have consistent reproduction ... maybe it has to do with the |
🚀 Deployed to staging in version: 1.0.69-2🚀
|
In my testing, updating React-Native-Web to 0.17.0 (latest) doesn't fix this issue. |
🚀 Deployed to production in version: 1.0.73-3🚀
|
Details
For some reason the
userSelect
property is being overridden by react-native-web internals for text inputs. This CSS hack solves the problem and doesn't seem to introduce any others.We should really consider filing a bug report in react-native-web, unless I'm gravely misunderstanding why
TextInput
components should by default (and in fact, in all cases) have the propertyuser-select: none
.Fixed Issues
Fixes #3598
Tests / QA Steps
+
icon in theReportActionCompose
and chooseRequest Money
/Split Bill
.Next
Tested On
Screenshots
Web
Still working on Chrome:
Also working on Safari:
Mobile Web
Desktop
iOS
Android