Skip to content
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

Selection remains while item-projection is set #33

Open
gegoune opened this issue Feb 20, 2023 · 0 comments
Open

Selection remains while item-projection is set #33

gegoune opened this issue Feb 20, 2023 · 0 comments

Comments

@gegoune
Copy link

gegoune commented Feb 20, 2023

Hey, thanks for all your work on this component! App I am developing heavily relies on such functionality, so I really right want to get it right.

I have noticed behaviour difference depending on whether :item-projection is set or not. This behaviour can be observed on your demo as well.

  • with :item-projection (Demo 2) - after selecting an item dropdown remains under input widget:

ghost

  • this isn't the case for Demo 1 & 3 which nicely clean up after selecting an item.

This seems unnecessary to me and I am wondering whether it is intended behaviour or a bug.

Also, when focus returns to input widget the same single element list gets displayed. Would it be possible to only display that list (when item was already selected and focus returned) only for lists longer than single element? Hope that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant