Closed cuongle-hdwebsoft closed 7 months ago
I dont see any flickering in your video.
Ok let me reproduce this issue in codesandbox:
https://github.com/brianvoe/slim-select/assets/102006695/9d25a818-dc63-42b6-97de-aa2eb58942d6
I hope this makes more clear for you
There might be something there but I just dont really see an issue. If you have a suggestion for a fix I can always look at a pr.
https://github.com/brianvoe/slim-select/assets/102006695/92114b99-fa69-4bbc-9e7b-709834fc0677
I think you should try to look at carefully the difference animation when dropdown at the bottom and at the top. It seems like it starts its animation from the red line and then disappears.
Expected result: It should collapse smoothly, just change the height of the dropdown and do not act the animation like the video.
I actually see different animations here https://github.com/brianvoe/slim-select/assets/102006695/58024e35-a48b-4e87-abb4-81874679d82f
Describe the bug The dropdown animation is flickering when it collapses.
Step to reproduce
listbox
from thebottom
totop
automaticallyScreenshots
https://github.com/brianvoe/slim-select/assets/102006695/4d1ef9e2-f695-44aa-b032-f9978b219921