sa-si-dev / virtual-select

A javascript plugin for dropdown with virtual scroll

Home Page:https://sa-si-dev.github.io/virtual-select

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Entrance animation issue when Open method is triggered.

joselrio opened this issue · comments

Hi there,

There is an issue related with the entrance animation when Open/Close methods are is use. In order to test it, follow the next steps:

  • Open Dropdown through Open method;
  • Click outside to close it, or close it through Close method;
  • Open it again through Open method again;

If you do not wait the 300ms used by css transition, at the opening moment, the position isn't updated which ends on the behaviour you can see on the attached image.
Think Open method should only perform the action if the close has been totally end.

02e2a0b3-ce97-401c-9acc-c8d217331bd0

Thanks for you work!
Cheers,
JR

@sa-si-dev Any update on this issue? I'm really struggling to find a solution.