2
0
Fork 0
mirror of https://github.com/DioxusLabs/dioxus synced 2025-02-19 23:28:27 +00:00

Merge pull request from ealmloff/fix-scroll-web

This commit is contained in:
Jonathan Kelley 2023-11-02 22:35:16 -04:00 committed by GitHub
commit a3e6d0adca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,7 +294,7 @@ pub fn virtual_event_from_websys_event(event: web_sys::Event, target: Element) -
"select" => Rc::new(SelectionData {}),
"touchcancel" | "touchend" | "touchmove" | "touchstart" => Rc::new(TouchData::from(event)),
"scroll" => Rc::new(()),
"scroll" => Rc::new(ScrollData {}),
"wheel" => Rc::new(WheelData::from(event)),
"animationstart" | "animationend" | "animationiteration" => {
Rc::new(AnimationData::from(event))