fix: input-password prevent caret position (#2420)
parent
5108f67c11
commit
413793234b
|
@ -60,6 +60,11 @@ export default {
|
||||||
// https://github.com/ant-design/ant-design/issues/15173
|
// https://github.com/ant-design/ant-design/issues/15173
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
},
|
},
|
||||||
|
mouseup: e => {
|
||||||
|
// Prevent focused state lost
|
||||||
|
// https://github.com/ant-design/ant-design/pull/23633/files
|
||||||
|
e.preventDefault();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
class: `${prefixCls}-icon`,
|
class: `${prefixCls}-icon`,
|
||||||
key: 'passwordIcon',
|
key: 'passwordIcon',
|
||||||
|
|
Loading…
Reference in New Issue