-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(select): 🐛 focus the popover on loop from both ends #159
Conversation
Deploy preview for renderless-components ready! Built with commit 6a12188 https://deploy-preview-159--renderless-components.netlify.app |
@@ -14,15 +14,11 @@ import { | |||
export function useSelectListState( | |||
initialState: SealedInitialState<SelectListInitialState> = {}, | |||
): SelectListStateReturn { | |||
const { | |||
currentId = null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats because I removed this !
Now by default current id will be on the first tabbable element as programmed in composite.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it!
closes #156