Chrome adding blue border around TextInput
See original GitHub issueEnvironment
“react-native-paper”: “^3.9.0”, “react-native-web”: “~0.11.7”, Expo
Description
I am using InputText as
<TextInput
style={{outlineColor: 'rgba(0,0,0,0)', outlineOffset: 0, outlineStyle: 'none',
outlineWidth: 0, backgroundColor: 'white'}}
theme={this.textValidationTheme(styles)}
mode="flat"
ref={o => (this.txtInput = o)}
label={this.props.label}
//placeholder={this.state.isFocused ? "" : this.props.label}
value={this.state.text}
onFocus={this.onFocus}
onChangeText={this.onChangeText}
onBlur={this.onBlur}
onSubmitEditing={this.onSubmit}
underlineColor={color.lightGray}
{...this.props.textInputProps}
/>
It seems that chrome is adding a default blue outline and no modification in outline settings seem to be working…
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (3 by maintainers)
Top Results From Across the Web
How to remove the border highlight on an input text element
In Bootstrap 4 to remove border outline you can use shadow-none , it will remove focus outline.
Read more >How to Remove Outline around Text Input ... - Tutorial Republic
In Google Chrome browser form controls like <input> , <textarea> and <select> highlighted with blue outline around them on focus.
Read more >How to Remove and Style the Border Around Text Input Boxes ...
Remove the outline and add a border style using the :focus and :active pseudo-classes with the <input> field. Also, you can remove the...
Read more >How to remove outline around text input ... - GeeksforGeeks
Generally in the case of Google Chrome Browser, when the input field gets focus then the blue outline occurred on the border of...
Read more >Removing 'blue border' from input text field - MachForm
yuniar. Chrome and Safari put a glowing blue border around text area when they are in focus. You can remove it by adding...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
outlineWidth: 0,
worked for mewith react native web you can do: