From cfd2e7b116e49b295b3bb484a3f477a9f356d493 Mon Sep 17 00:00:00 2001
From: Héctor Ramón Jiménez <hector@hecrj.dev>
Date: Wed, 14 Aug 2024 19:06:16 +0200
Subject: 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 b19212a6..9ccaa274 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,
                     );
-- 
cgit