isFullWidth broken on Input in @chakra-ui/core": "^1.0.0-rc.7
See original GitHub issueBug report
Describe the bug
When using @chakra-ui/core@next
to utilize needed new code for colorModeManager to use with Next.js it is breaking InputOptions for isFullWidth
To reproduce
- install @chakra-ui/core@next installed (“@chakra-ui/core”: “^1.0.0-rc.7”)
- create
<Input isFullWidth={false}/>
3.open console log and see errorWarning: React does not recognize the
isFullWidthprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase
isfullwidthinstead. If you accidentally passed it from a parent component, remove it from the DOM element.
Minimal reproduction
https://codesandbox.io/s/mystifying-framework-3e1ur?file=/src/App.js
Expected behavior
Input is not displayed fullscreen, as it is in the stable branch
System information
- OS: macOS
- Browser (if applies): Firefox, Chrome
- Version of @chakra-ui/core: 1.0.0-rc.7
- Version of Node.js: 14.2.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
No results found
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
Hi @hyliancoder,
If you check the migration guide, you might see that
isFullWidth
has been deprecated for the Input. You can passw="auto"
to the Input to prevent that.Cheers
Looks like it was under Checkbox but not mentioned elsewhere. Might want to add something under inputs as well or a overall listing of what things are depreciated from which Components