#106429ThrottleEvent sends two event if only one event is submitted.
Description
1) In TYPO3 Backend browser open Site Settings Editor and edit site setting of a site with categories.
2) Enter in JavaScript console:
const { default: ThrottleEvent } = await import('@typo3/core/event/throttle-event.js');
new ThrottleEvent('scroll', (e) => console.log('scroll', e), 100).bindTo(top.list_frame.document.querySelector('.module'));
3) Click a link in the category to trigger a document scroll
4) Expect one scroll event being logged, but see two:
Reviews 2
Files 1
History 38
-
Gerrit Code Review pushed patch set 3 for main to change 88585 status
NewUnder Review 03/25/25, 15:44 -
Gerrit Code Review pushed patch set 4 for main to change 88585 03/25/25, 15:46
-
Benjamin Franzke changed description 03/25/25, 15:49
-
Gerrit Code Review pushed patch set 5 for main to change 88585 03/26/25, 19:16
-
Gerrit Code Review pushed patch set 6 for main to change 88585 03/27/25, 01:06
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 88787 03/27/25, 10:00
-
Benjamin Franzke commented and changed status
Under ReviewResolved done0 %100 % 03/27/25, 10:15 -
Benni Mack changed status
ResolvedClosed 08/12/25, 14:35
Applied in changeset commit:6bdd09bf3ee0402935ced72ad83bfa25e5b3f738.