feat(Cascader): add @cascader-header-padding less var (#8626)
This commit is contained in:
+1
-1
@@ -305,7 +305,7 @@ export default defineComponent({
|
||||
state.focused = true;
|
||||
emit('focus', event);
|
||||
|
||||
// readonly not work in lagacy mobile safari
|
||||
// readonly not work in legacy mobile safari
|
||||
const readonly = getProp('readonly');
|
||||
if (readonly) {
|
||||
blur();
|
||||
|
||||
+2
-2
@@ -83,8 +83,8 @@ export function mapInputType(
|
||||
type: InputHTMLAttributes['type'];
|
||||
inputmode?: HTMLAttributes['inputmode'];
|
||||
} {
|
||||
// type="number" is weired in iOS, and can't prevent dot in Android
|
||||
// so use inputmode to set keyboard in mordern browers
|
||||
// type="number" is weird in iOS, and can't prevent dot in Android
|
||||
// so use inputmode to set keyboard in modern browsers
|
||||
if (type === 'number') {
|
||||
return {
|
||||
type: 'text',
|
||||
|
||||
Reference in New Issue
Block a user