Commit d599b7d
Web: deliver both scroll axes in wheel events (fix diagonal scroll) (JetBrains#3147)
Web: deliver both scroll axes in wheel events (fix diagonal scroll)
Fixes https://youtrack.jetbrains.com/issue/CMP-10361
## Testing
Added a new test to validate diagonal scroll behavior.
## Release Notes
### Fixes - Web
- Deliver both scroll axes in wheel events (fix diagonal scroll)1 parent a6c4974 commit d599b7d
2 files changed
Lines changed: 41 additions & 7 deletions
File tree
- compose/ui/ui/src
- webMain/kotlin/androidx/compose/ui/window
- webTest/kotlin/androidx/compose/ui/window
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
746 | 745 | | |
747 | 746 | | |
748 | 747 | | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
753 | 758 | | |
754 | 759 | | |
755 | | - | |
756 | | - | |
757 | 760 | | |
758 | 761 | | |
759 | 762 | | |
| |||
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
234 | 237 | | |
235 | 238 | | |
236 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
237 | 268 | | |
238 | 269 | | |
239 | 270 | | |
| |||
0 commit comments