[BUGFIX] Debounce or throttle scroll/resize events
This patch debounced or throttles some `scroll` or `resize` events to improve the client performance a bit, as the event listeners aren't executed anymore everytime the event is triggered. Resolves: #90810 Releases: master Change-Id: Id5262eebd004ee4d10d87a83cc17e3f517aca1a8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63844 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/DocumentHeader.ts 5 additions, 3 deletions...ipt/backend/Resources/Public/TypeScript/DocumentHeader.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Viewport.ts 3 additions, 2 deletions...ypeScript/backend/Resources/Public/TypeScript/Viewport.ts
- Build/Sources/TypeScript/workspaces/Resources/Public/TypeScript/Preview.ts 2 additions, 2 deletions...eScript/workspaces/Resources/Public/TypeScript/Preview.ts
- typo3/sysext/backend/Resources/Public/JavaScript/DocumentHeader.js 1 addition, 1 deletion...ext/backend/Resources/Public/JavaScript/DocumentHeader.js
- typo3/sysext/backend/Resources/Public/JavaScript/Viewport.js 1 addition, 1 deletiontypo3/sysext/backend/Resources/Public/JavaScript/Viewport.js
- typo3/sysext/workspaces/Resources/Public/JavaScript/Preview.js 1 addition, 1 deletion.../sysext/workspaces/Resources/Public/JavaScript/Preview.js
Please register or sign in to comment