Last Updated:
12 Jun 2024 06:20
by ADMIN
I am using MS Playwright to create End2End tests. It worked fine when we used MudBlazor, but after we migrated to telerik I have run into a problem with the TelerikDropDownList.
It stops working if you open it too fast. It goes into a state where no matter what you do (Rebind/changing data bound values etc.), it will not open and show items.
It can be reproduced easily by calling .Open() in OnInitializedAsync()
I have reproduced it without MS Playwright in REPL, so you can easily debug it.
https://blazorrepl.telerik.com/QIOUYoPc57iQKy6702
If you uncomment the await Task.Delay(3000); the code will work.
Expected behavior:
It is ok that Open() does nothing while the control is initializing. It is not ok that just because you called Open() once, then you are forever stuck without being able to open it later, no matter how long you wait or what you do with the items.
I do not want to insert random Delays in my code either as I expect the TelerikDropDownList to not malfunction just because I open it too early.
I hope you can prioritize this as right now the DropDownList is not usable for us.