Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: dont allow scroll on number input (#47)

Myles Scolnick37c2ace4ea46
diff --git a/frontend/src/plugins/impl/NumberPlugin.tsx b/frontend/src/plugins/impl/NumberPlugin.tsx
index 55a122be32..1f26d7db53 100644
--- a/frontend/src/plugins/impl/NumberPlugin.tsx
+++ b/frontend/src/plugins/impl/NumberPlugin.tsx
@@ -68,6 +68,7 @@ const NumberComponent = (props: NumberComponentProps): JSX.Element => {
step={props.step}
value={value}
onWheel={(e) => {
+ e.currentTarget.blur();
e.preventDefault();
}}
onChange={(e) => {