Skip to content

Commit

Permalink
Short-circuit scrolling passthrough in Stack
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Aug 14, 2024
1 parent 889d8b8 commit cfd2e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/src/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down

0 comments on commit cfd2e7b

Please sign in to comment.