Web: Unwanted TextInput focus outline
See original GitHub issueAsk your Question
I thought this would remove the focus outline style with react-native-web, but it doesn’t 😞.
const styles = StyleSheet.create({
textInput: {
outlineStyle: "none",
outlineWidth: 0,
outlineColor: "transparent"
}
});
<TextInput style={styles.textInput} />
How can I remove it?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
How to remove the border highlight on an input text element
input :focus, select:focus, textarea:focus, button:focus { outline: none; } ... "focus" when navigating a web document using the TAB key (or equivalent).
Read more >How to Remove and Style the Border Around Text Input Boxes ...
Use outline: none to remove the ugly border color for a form field in Chrome. Learn also how to give your own style...
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 >focus - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
The :focus CSS pseudo-class represents an element (such as a form input) that has received focus. It is generally triggered when the user ......
Read more >outline - CSS-Tricks
to the css input area it only removes the focus border from the desktop site but leaves the focus border on tablet and...
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
This worked for me, no libs
This worked for me!