-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pointer_interceptor_web] Update package APIs and tests. (#5785)
## Changes: * Updates the web implementation of the `pointer_interceptor` to `package:web`, and the latest `HtmlElementView` APIs available on Flutter. * Resolves a timing issue in integration tests by waiting a few frames before doing any assertions from the DOM of a Flutter Web app, that should fix flutter rolls. ## Issues: * Fixes flutter/flutter#140834 * Fixes flutter/flutter#139753 * Closes #5673 (Credit to @balvinderz!) ## Tests * Tested manually. All integration tests pass locally. --- Co-authored-by: balvinderz <balvindersi2@gmail.com>
- Loading branch information
1 parent
ece0d7b
commit 6b2249f
Showing
10 changed files
with
130 additions
and
148 deletions.
There are no files selected for viewing
7 changes: 6 additions & 1 deletion
7
packages/pointer_interceptor/pointer_interceptor_web/CHANGELOG.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
## 0.10.1 | ||
|
||
* Uses `HtmlElementView.fromTagName` instead of custom factories. | ||
* Migrates package and tests to `platform:web`. | ||
* Updates minimum supported SDK version to Flutter 3.16.0/Dart 3.2.0. | ||
|
||
## 0.10.0 | ||
|
||
* Moves web implementation to its own package. | ||
|
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
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
Binary file added
BIN
+5.46 KB
...ter_interceptor/pointer_interceptor_web/example/web/icons/Icon-maskable-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.5 KB
...ter_interceptor/pointer_interceptor_web/example/web/icons/Icon-maskable-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.