antd-mobile 5.42.0 → 5.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2x/bundle/antd-mobile.cjs.development.js +4 -1
- package/2x/bundle/antd-mobile.cjs.js +1 -1
- package/2x/bundle/antd-mobile.es.development.js +4 -1
- package/2x/bundle/antd-mobile.es.js +4 -1
- package/2x/bundle/antd-mobile.umd.development.js +4 -1
- package/2x/bundle/antd-mobile.umd.js +1 -1
- package/2x/cjs/components/number-keyboard/number-keyboard.js +5 -1
- package/2x/es/components/number-keyboard/number-keyboard.js +5 -1
- package/2x/package.json +1 -1
- package/bundle/antd-mobile.cjs.development.js +4 -1
- package/bundle/antd-mobile.cjs.js +1 -1
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +4 -1
- package/bundle/antd-mobile.es.js +4 -1
- package/bundle/antd-mobile.umd.development.js +4 -1
- package/bundle/antd-mobile.umd.js +1 -1
- package/cjs/components/number-keyboard/number-keyboard.js +5 -1
- package/es/components/number-keyboard/number-keyboard.js +5 -1
- package/package.json +1 -1
- package/umd/antd-mobile.js +1 -1
|
@@ -172,7 +172,11 @@ const NumberKeyboard = p => {
|
|
|
172
172
|
forceRender: props.forceRender
|
|
173
173
|
}, (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", {
|
|
174
174
|
ref: keyboardRef,
|
|
175
|
-
className: classPrefix
|
|
175
|
+
className: classPrefix,
|
|
176
|
+
onMouseDown: e => {
|
|
177
|
+
// 点击键盘时,不会触发页面已聚焦元素(如输入框)的 blur 事件
|
|
178
|
+
e.preventDefault();
|
|
179
|
+
}
|
|
176
180
|
}, renderHeader(), _react.default.createElement("div", {
|
|
177
181
|
className: `${classPrefix}-wrapper`
|
|
178
182
|
}, _react.default.createElement("div", {
|
|
@@ -163,7 +163,11 @@ export const NumberKeyboard = p => {
|
|
|
163
163
|
forceRender: props.forceRender
|
|
164
164
|
}, withNativeProps(props, React.createElement("div", {
|
|
165
165
|
ref: keyboardRef,
|
|
166
|
-
className: classPrefix
|
|
166
|
+
className: classPrefix,
|
|
167
|
+
onMouseDown: e => {
|
|
168
|
+
// 点击键盘时,不会触发页面已聚焦元素(如输入框)的 blur 事件
|
|
169
|
+
e.preventDefault();
|
|
170
|
+
}
|
|
167
171
|
}, renderHeader(), React.createElement("div", {
|
|
168
172
|
className: `${classPrefix}-wrapper`
|
|
169
173
|
}, React.createElement("div", {
|