Short-circuit scrolling passthrough in Stack

This commit is contained in:
Héctor Ramón Jiménez 2024-08-14 19:06:16 +02:00
parent 889d8b891f
commit cfd2e7b116
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -236,7 +236,7 @@ where
viewport,
);
if is_over_scroll {
if is_over_scroll && cursor != mouse::Cursor::Unavailable {
let interaction = child.as_widget().mouse_interaction(
state, layout, cursor, viewport, renderer,
);