-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Throttle page resize events (#19122)
* A start to fix #19114 * Allow inter, programmatic API for dom event registration * Works also now when UI is inert (modal component visible) * formatter:format * refactoring * cleanup & fixed comments * IT test now takes debouncing into account and also tests with modal component * formatter:format * modified IT to cover height * Update flow-server/src/main/java/com/vaadin/flow/component/page/Page.java Co-authored-by: Knoobie <Knoobie@gmx.de> * fixed IT test * formatterformat * Removed obsoleted unit tests Not built with complex JS hacks anymore, but with normal event listening system. * formatterformat * cleanup --------- Co-authored-by: Knoobie <Knoobie@gmx.de> Co-authored-by: Teppo Kurki <teppo.kurki@vaadin.com>
- Loading branch information
1 parent
f0811e0
commit 6cdc736
Showing
6 changed files
with
76 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
flow-server/src/main/resources/com/vaadin/flow/component/page/windowResizeListener.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.