You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a numeric range with a slider facet, the facet updates continously while sliding the slider with the mouse. Updating the UI to show the curretly slided to value is appreciated. However, the component sends the new facet-setting to the server during the slide as well.
Expected behavior
The jQuery-API of the slider component provides a stop-event in addition to the sliede event. The stop-event should be used to trigger the url update only, so that server requests are only sent, once the user releases the slider.
Used versions (please complete the following information):
TYPO3 Version: 12.4.15
Browser: Firefox, Chromium, probably any browser
EXT:solr Version: 12.0.3
The text was updated successfully, but these errors were encountered:
dkd-kaehm
changed the title
numeric facet range slider sends lot of events to server
[BUG] numeric facet range slider sends lot of events to server
Jun 6, 2024
dkd-kaehm
changed the title
[BUG] numeric facet range slider sends lot of events to server
[BUG] numeric facet range slider sends lot of requests to server
Jun 6, 2024
Previously the numeric range slider updated the UI and the facet setting continously during sliding. This caused a lot of get requests to the server. This PR changes the desired behavior to send update requests only once the user releases the slider. The UI still gets updated continuously by using the separate slide-event for that.
Fixes: #4082
Describe the bug
When using a numeric range with a slider facet, the facet updates continously while sliding the slider with the mouse. Updating the UI to show the curretly slided to value is appreciated. However, the component sends the new facet-setting to the server during the slide as well.
Expected behavior
The jQuery-API of the slider component provides a stop-event in addition to the sliede event. The stop-event should be used to trigger the url update only, so that server requests are only sent, once the user releases the slider.
Used versions (please complete the following information):
The text was updated successfully, but these errors were encountered: