-
Notifications
You must be signed in to change notification settings - Fork 12
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:[Unfork] Reset repository picker options after submission [fixes #25] #26
Conversation
Someone is attempting to deploy a commit to a Personal Account owned by @lyqht on Vercel. @lyqht first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
hi @najeebkp, currently there's a behavior that after you deleted an item and reset the selectedItems state, the dropdown doesn't jump back to the top — might be something to do with |
i didn't understand. can you show some screenshots and explain? |
Hey i checked it for couple of hours. Actually setHighlighted index works -> so that it takes to the 0th index. but it doesnot recognises the top filter as an element. that is the issue. i couldn't find a solution to fix that. |
Hello thanks for looking into it! Could you see if it's possible to attach a ref to the drop-down and scroll to the top of that drop-down after you have set the selected items as an empty array? |
i'll check it |
@lyqht Check it out ! |
Good job! Thanks for your work on this ✨ |
Fix:[Unfork] Reset repository picker options after submission [fixes #25]
small setSelectedItem([]) change added after the delete response.