Commit 3e7d502
authored
[pointer_interceptor] fix width and height unset warning on web platform (flutter#5864)
This PR adds width/height to the dom element created by the default factory to prevent the framework from screaming at usages of this plugin.
Needed until this bit becomes `stable`:
* https://github.com/flutter/engine/blob/3106e08e12198d98b75c459ac3290f4101b68574/lib/web_ui/lib/src/engine/platform_views/content_manager.dart#L229-L238
## Issues
* Fixes flutter#141323
- [] I updated/added relevant documentation (doc comments with `///`).1 parent 39ffed3 commit 3e7d502
File tree
3 files changed
+9
-2
lines changed- packages/pointer_interceptor/pointer_interceptor_web
- lib
3 files changed
+9
-2
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments