-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TextInput: support outline
#48
Comments
I'm thinking we could remove the default |
Going to add |
I found this solution working perfectly |
@latanoel Can you share your implementation? I'm adding TS to a RNW project (have updated to latest RNW and added types for related libs) and outlineWidth is showing the following error. My goal is to turn off the polyfill outline on web:
Implementation looks like:
|
Worked for me. thanks |
@foureyedraven This is my implementation
You may wish to leave it at |
@latanoel thank you! turns out I was getting the red squiggly because I had added @types/react and @types/react-native to the project, which doubled up the type defs and confused everything. I had assumed I needed them, but I don't. Removing them from the project made the outline style prop work. |
When using
<TextInput>
, I'd like to be able to disable the default blue outline added by Chrome. However, React Native'sTextInput
doesn't support this property. I have a few possible solutions for the problem:The text was updated successfully, but these errors were encountered: