input-number icon indicating copy to clipboard operation
input-number copied to clipboard

【问题】在 #239 重构之后如何在移动端使用input-number的-/+呢?是否不支持移动端了?

Open keepAwayFrom404 opened this issue 4 years ago • 5 comments

change链接:https://github.com/react-component/input-number/pull/293 other: 疑问:我看代码handler的代码里判断是移动端就直接return了是为啥呢? 代码:src/StepHandler.tsx 62-64行 截图: image

keepAwayFrom404 avatar Sep 13 '21 02:09 keepAwayFrom404

@hengkx #344 之后 , 这个是不是应该放开?

https://github.com/ant-design/ant-design/pull/31911

yoyo837 avatar Sep 13 '21 02:09 yoyo837

@hengkx #344 之后 , 这个是不是应该放开?

ant-design/ant-design#31911

效率真高,这么快就得到回复👍 然后好像还有一个问题可以关注一下(点击上下的时候移动端会自动弹出数字键盘)https://github.com/react-component/input-number/issues/23

keepAwayFrom404 avatar Sep 13 '21 03:09 keepAwayFrom404

这个问题目前在移动端服务端渲染时有了新的问题,由于在isMobile中认为node环境为false,所以服务端渲染和客户端不一致,影响hydrate。 表现现象为:渲染异常,无法输入有效数字

dazjean avatar Oct 26 '21 11:10 dazjean

@hengkx #344 之后 , 这个是不是应该放开? ant-design/ant-design#31911

效率真高,这么快就得到回复👍 然后好像还有一个问题可以关注一下(点击上下的时候移动端会自动弹出数字键盘)#23

所以这个判断在什么时候能放开呢? 放开之后,上面反应在SSR移动端预览模式时测试时是有效的。

dazjean avatar Oct 26 '21 11:10 dazjean

@hengkx #344 之后 , 这个是不是应该放开? ant-design/ant-design#31911

效率真高,这么快就得到回复👍 然后好像还有一个问题可以关注一下(点击上下的时候移动端会自动弹出数字键盘)#23

所以这个判断在什么时候能放开呢? 放开之后,上面反应在SSR移动端预览模式时测试时是有效的。

催更加一

keepAwayFrom404 avatar Oct 28 '21 06:10 keepAwayFrom404