Double border for TextInput inside of a FormField
See original GitHub issueUpgrading from Grommet 1.5.0 to 1.6.0 changes the way form fields are rendered.
Expected Behavior
In Grommet 1.5.0 a <TextInput />
wrapped in a <FormField />
used to render with just a single outline like this:
Actual Behavior
After upgrading to Grommet 1.6.0 the look changed and now we see a double border:
URL, screen shot, or Codepen exhibiting the issue
https://codepen.io/anon/pen/wqWzGN?&editors=0010
class HelloWorldApp extends React.Component {
render () {
return (
<App>
<FormField>
<TextInput value="Test" />
</FormField>
</App>
);
}
};
var element = document.getElementById('content');
ReactDOM.render(<HelloWorldApp />, element);
Your Environment
- Grommet version: 1.6.0
- Browser Name and version: Chrome Version 59.0.3071.115 (Official Build) (64-bit)
- Operating System and version (desktop or mobile): MacOSX
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (5 by maintainers)
Top Results From Across the Web
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 >Input text field with only bottom border - Stack Overflow
Use outline:0 for chrome.. and then just set border-bottom as you like. input { outline: 0; border-width: 0 0 2px; border-color: blue } ......
Read more >Double border around an Input field - WebmasterWorld
I'm styling an input field. It has a background image for the inner text area and a dark inner border surrounding that and...
Read more >Create and style a text field - Flutter documentation
Text fields allow users to type text into an app. They are used to build forms, send messages, create search experiences, and more....
Read more >CSS Forms - W3Schools
Note that we have set the box-sizing property to border-box . This makes sure that the padding and eventually borders are included in...
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
yeah I noticed that after releasing 1.6.0. let me investigate what is going on and release 1.6.1 sometime later today. sorry about that.
Fixed the issue for input types tel and url.