[Dropdown] Clicking on the dropdown icon will generate multiple hits to the server (when no results are returned).
See original GitHub issueI was just about to upgrade to v2.2.10 when I noticed my remote dropdowns where generating multiple hits to the server when no results are returned. It also looks like the caching parameter is ignored.
For some reason this bug only happens if you click on the actual dropdown icon (you will see the loading icon spin, stop, spin, stop… ).
If you look at the console log you will see multiple repeated requests.
http://jsfiddle.net/kmd1970/pzcm8zo4/
(Please note this link needs to remain http://
for the remote ajax call to work properly)
Looks like this issue started in v2.2.8. In more recent versions (v2.2.7) the dropdown icon doesn’t open the empty menu (after load) until you click into the input at least once, so this issue doesn’t occur.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Dropdown - Semantic UI
A dropdown allows a user to select a value from a series of options.
Read more >How To Handle Dropdowns In Selenium WebDriver Using ...
While dealing with access forms, you'd often have to handle dropdown. Here's how you can handle them with Selenium WebDriver in Selenium ...
Read more >Dropdown | Fomantic-UI Docs
A dropdown allows a user to select a value from a series of options.
Read more >Power Apps Dropdown Control - Cascading, Filtering, Allow ...
Nothing too crazy, just going through the PowerApps dropdown control in ... Enjoy PowerApps Cascading dropdowns a couple of different ways.
Read more >Avoid dropdown menu close on click inside - Stack Overflow
To avoid this, I can easily attach a click event handler on the dropdown menu and simply add the famous event.stopPropagation() . <ul...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Quick work-around is to define own
onSuccess
inapiSettings
:I can see the recursion in the logic here. I’ll add a solve to next patch release.