You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
useNumberField contains example code, which does not work. Clicking increment/decrement button multiple times may or may not register a single value change.
🤔 Expected Behavior
Each click should result in increment/decrement of value
Btw, in production builds (or Storybook) this works perfectly
💁 Possible Solution
Not sure
🔦 Context
Was trying to fill in a form using the component from our own Storybook where component behaves ok. Noticed it was unresponsive. After a bunch of debugging noticed that in Storybook the component works fine, as well as in the app, but only in production build.
🐛 Bug Report
useNumberField contains example code, which does not work. Clicking increment/decrement button multiple times may or may not register a single value change.
🤔 Expected Behavior
Each click should result in increment/decrement of value
😯 Current Behavior
Example code in Codesandbox: https://codesandbox.io/s/usenumberfield-bug-mrjwbi
Btw, in production builds (or Storybook) this works perfectly
💁 Possible Solution
Not sure
🔦 Context
Was trying to fill in a form using the component from our own Storybook where component behaves ok. Noticed it was unresponsive. After a bunch of debugging noticed that in Storybook the component works fine, as well as in the app, but only in production build.
💻 Code Sample
https://codesandbox.io/s/usenumberfield-bug-mrjwbi
🌍 Your Environment
🧢 Your Company/Team
n/a
🕷 Tracking Issue (optional)
n/a
The text was updated successfully, but these errors were encountered: