From cfd2e7b116e49b295b3bb484a3f477a9f356d493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Wed, 14 Aug 2024 19:06:16 +0200 Subject: [PATCH] Short-circuit scrolling passthrough in `Stack` --- widget/src/stack.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/stack.rs b/widget/src/stack.rs index b19212a6ef..9ccaa27484 100644 --- a/widget/src/stack.rs +++ b/widget/src/stack.rs @@ -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, );