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

unpleasant visual effect when I search in the dropdown then select an item : the dropdown is restored to its initial height before fading out #278

Open
abenhamdine opened this issue Sep 1, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@abenhamdine
Copy link
Contributor

abenhamdine commented Sep 1, 2023

when I type a value in the field search, the options are filtered, and thus the height of the dropdown is decreased.
But eventually when I select an option : the dropdown is suddenly restored to its initial height (like the items were not filtered at all) and then fade out

see the following video, at the end

01.09.2023_15.31.10_REC.mp4

in details ;

1st) the dropdown is filtered, the height is one row height only (+ search field height) :

see at 0:04

image

2°) I click on the single found item : the dropdown appears with its initial height before fading out :

see at 0:05 : the initial height is restored

image

I would expect the dropdown to fade out immediatly while keeping the same height

@gnbm gnbm added the enhancement New feature or request label Sep 2, 2023
@gnbm
Copy link
Collaborator

gnbm commented Oct 23, 2023

@sa-si-dev Do we have any property that allows us to understand when executing afterSetVisibleOptionsCount() if we selected an element or are just filtering the options list?

@gnbm
Copy link
Collaborator

gnbm commented Mar 18, 2024

@sa-si-dev could you help clarify this?

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

No branches or pull requests

3 participants