Open bhanu-p opened 2 years ago
Hi @bhanu-p, I'm not sure what are you trying to achieve with autoFocus. What do you want to happen when you focus it?
We are expecting to move the cursor to give the rating at first(first priority), like this
I'll add accessibility support in my next release meanwhile, you could just wrap the Rating
component with div
or span
element and set tabIndex
attribute to 0
like so :
// your input here
<div tabIndex={0}>
<Rating {/* ... */ } />
</div>
// another input
<Form.Control type="email" placeholder="name@example.com" autoFocus />