-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
I don't see any scroll bars when the HTML element overflows.
I can implement scrollbar myself, but I don't see any onscroll events showing up in my element when it overflows.
I see the onscroll event should be implemented as per #304 but the events don't show up in my tests.
I am using dioxus 0.7.3 with its native feature and dependency blitz-dom=0.2.4
Tested under both windows 11 and linux wayland, no scroll bars, no scroll events.
Here is some dioxus component to repro issue:
rsx! {
div {
style: "
width: 100vw;
height: 100vh;
overflow: scroll;
",
onscroll: move |_e| {
info!("onscroll {:?}", _e.data());
},
onscrollend: move |_e| {
info!("onscrollnd {:?}", _e.data());
},
onmounted: move |_e| {
info!("onmounted {:#?}", _e.data());
},
onresize: move |_e| {
info!("onresize {:#?}", _e.data());
},
div {
for i in 0..100 {
h1 {
"Test {i}"
}
}
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels