This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle unsupported WheelEvent.deltaX in scroll host.
Add a default value and try/catch block around WheelEvent.delta(X/Y/Mode). html_dart2js does not throw error when deltaX/deltaY is null. So null handling is also added. Add test for null deltaX/deltaY/deltaMode because 'undefined' cannot be passed as value. dart-lang/sdk#24088 dart-lang/sdk#31515 PiperOrigin-RevId: 218253658
- Loading branch information
Showing
1 changed file
with
34 additions
and
3 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