We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67167e5 commit 23a042eCopy full SHA for 23a042e
src/InputNumber.tsx
@@ -177,6 +177,8 @@ const InternalInputNumber = React.forwardRef(
177
}
178
179
180
+ // Mobile user experience is not ideal, so we choose to hide the step controls by default on mobile.
181
+ // However, developers can still display them by setting `controls=true`.
182
const isMobile = useMobile();
183
const mergedControls = controls ?? !isMobile;
184
0 commit comments