Commit c957f12
Address code review feedback - allow all window events consistently
- Simplified logic to allow all window-level events (not just resize)
- This provides consistent behavior: window events = viewport detection (allowed)
- document/element events = element observation (suggest observers)
- Added test for window.scroll to verify consistent behavior
Co-authored-by: mattcosta7 <8616962+mattcosta7@users.noreply.github.com>1 parent b7c0503 commit c957f12
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | | - | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
0 commit comments