Request to add `_focus` to `Box`
See original GitHub issueWhat problem does this feature solve?
I was converting my tailwind site to Chakra and noticed that the Box
component doesnt allow you to customize focus
properties.
What does the proposed API look like?
<Box _focus={{ outline: 'none' }} />
Describe alternatives you’ve considered
Currently it looks like I’ll have to use css to do this
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
HTMLElement.focus() - Web APIs | MDN
The HTMLElement.focus() method sets focus on the specified element, if it can be focused. The focused element is the element that will ...
Read more >How can I set focus on an element in an HTML form using ...
As simple as document.getElementById('your_text_box_id').focus(); . – Teemu. Jul 6, 2013 at 7:20.
Read more >Set focus to the text field in an input box - Microsoft Community
Set focus to the text field in an input box. Hi. I am using Word for Mac. I whant to input a hyperlink...
Read more >Set the focus to HTML form element using JavaScript
To set focus to an HTML form element, the focus() method of JavaScript can be used. To do so, call this method on...
Read more >Focus Box | Content Types | TerminalFour Training | Web Team
Navigate to the section (page) where you wish to add the focus box, ... Click 'Add content' and select 'Focus Box' from the...
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
The beta docs are here: https://next.chakra-ui.com/
Thank you! That’s exactly what I’m looking for. Will
1.0
’sBox
also have_focus
and stuff like that?