Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix shift-scroll behavior in the data picker browse all state (#76537)

Andersonb113cf952754
diff --git a/frontend/src/metabase/common/components/Pickers/EntityPicker/components/EntityPickerModal.tsx b/frontend/src/metabase/common/components/Pickers/EntityPicker/components/EntityPickerModal.tsx
index 9a91f296276..4c8d0838c79 100644
--- a/frontend/src/metabase/common/components/Pickers/EntityPicker/components/EntityPickerModal.tsx
+++ b/frontend/src/metabase/common/components/Pickers/EntityPicker/components/EntityPickerModal.tsx
@@ -164,6 +164,13 @@ export function EntityPickerModal({
w="100vw"
closeOnEscape={false} // we're doing this manually in useWindowEvent
yOffset="10dvh"
+ /**
+ * react-remove-scroll (used by Mantine's scroll lock) treats Shift+wheel as a
+ * vertical gesture and preventDefault()s it once the hovered column can't scroll
+ * vertically, which blocks the picker's native horizontal Shift+scroll. This modal
+ * fills the viewport and never scrolls the page, so the lock is unnecessary here. (#66456)
+ */
+ lockScroll={false}
>
<Modal.Overlay />
<Modal.Content