File tree 4 files changed +13
-14
lines changed
auto-complete/__tests__/__snapshots__
4 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ exports[`renders ./antdv-demo/docs/auto-complete/demo/custom.md correctly 1`] =
30
30
<div class = " ant-select ant-select-show-search ant-select-auto-complete ant-select-single ant-select-customize-input" style = " width: 200px;" >
31
31
<!---->
32
32
<!---->
33
- <div class = " ant-select-selector" ><span class = " ant-select-selection-search" ><textarea placeholder = " input here" class = " ant-input" id = " rc_select_TEST_OR_SSR" autocomplete = " off" role = " combobox" aria-haspopup = " listbox" aria-owns = " rc_select_TEST_OR_SSR_list" aria-autocomplete = " list" aria-controls = " rc_select_TEST_OR_SSR_list" aria-activedescendant = " rc_select_TEST_OR_SSR_list_0" ></textarea ></span >
33
+ <div class = " ant-select-selector" ><span class = " ant-select-selection-search" ><textarea placeholder = " input here" class = " ant-input ant-select-selection-search-input " style = " height: 50px; " id = " rc_select_TEST_OR_SSR" autocomplete = " off" role = " combobox" aria-haspopup = " listbox" aria-owns = " rc_select_TEST_OR_SSR_list" aria-autocomplete = " list" aria-controls = " rc_select_TEST_OR_SSR_list" aria-activedescendant = " rc_select_TEST_OR_SSR_list_0" ></textarea ></span >
34
34
<!----><span class = " ant-select-selection-placeholder" ><!----></span >
35
35
</div >
36
36
<!---->
Original file line number Diff line number Diff line change 98
98
@ease-base-in : cubic-bezier (0.9 , 0 , 0.3 , 0.7 );
99
99
@ease-out : cubic-bezier (0.215 , 0.61 , 0.355 , 1 );
100
100
@ease-in : cubic-bezier (0.55 , 0.055 , 0.675 , 0.19 );
101
- @ease-in-out : cubic-bezier (0.25 , 0.8 , 0.5 , 1 );
101
+ @ease-in-out : cubic-bezier (0.645 , 0.045 , 0.355 , 1 );
102
102
@ease-out-back : cubic-bezier (0.12 , 0.4 , 0.29 , 1.46 );
103
103
@ease-in-back : cubic-bezier (0.71 , -0.46 , 0.88 , 0.6 );
104
104
@ease-in-out-back : cubic-bezier (0.71 , -0.46 , 0.29 , 1.46 );
Original file line number Diff line number Diff line change @@ -432,6 +432,13 @@ const SubMenu = defineComponent({
432
432
const isOpen = this . isOpen ;
433
433
const prefixCls = this . getPrefixCls ( ) ;
434
434
const isInlineMode = props . mode === 'inline' ;
435
+ if ( ! this . internalMenuId ) {
436
+ if ( props . eventKey ) {
437
+ this . internalMenuId = `${ props . eventKey } $Menu` ;
438
+ } else {
439
+ this . internalMenuId = `$__$${ ++ guid } $Menu` ;
440
+ }
441
+ }
435
442
const children = this . renderChildren ( ) ;
436
443
const className = {
437
444
[ prefixCls ] : true ,
@@ -442,14 +449,6 @@ const SubMenu = defineComponent({
442
449
[ this . getDisabledClassName ( ) ] : props . disabled ,
443
450
[ this . getSelectedClassName ( ) ] : this . isChildrenSelected || this . isChildrenSelected2 ( ) ,
444
451
} ;
445
- if ( ! this . internalMenuId ) {
446
- if ( props . eventKey ) {
447
- this . internalMenuId = `${ props . eventKey } $Menu` ;
448
- } else {
449
- this . internalMenuId = `$__$${ ++ guid } $Menu` ;
450
- }
451
- }
452
-
453
452
let mouseEvents = { } ;
454
453
let titleClickEvents = { } ;
455
454
let titleMouseEvents = { } ;
Original file line number Diff line number Diff line change 62
62
},
63
63
"homepage" : " https://www.antdv.com/" ,
64
64
"peerDependencies" : {
65
- "@vue/compiler-sfc" : " >=3.0.2 " ,
66
- "vue" : " >=3.0.2 "
65
+ "@vue/compiler-sfc" : " >=3.0.4 " ,
66
+ "vue" : " >=3.0.4 "
67
67
},
68
68
"devDependencies" : {
69
69
"@babel/cli" : " ^7.8.4" ,
92
92
"@typescript-eslint/parser" : " ^4.1.0" ,
93
93
"@vue/babel-plugin-jsx" : " ^1.0.0-rc.3" ,
94
94
"@vue/cli-plugin-eslint" : " ^4.0.0" ,
95
- "@vue/compiler-sfc" : " ^3.0.2 " ,
95
+ "@vue/compiler-sfc" : " ^3.0.4 " ,
96
96
"@vue/eslint-config-prettier" : " ^6.0.0" ,
97
97
"@vue/eslint-config-typescript" : " ^5.1.0" ,
98
98
"@vue/test-utils" : " ^2.0.0-beta.2" ,
178
178
"umi-mock-middleware" : " ^1.0.0" ,
179
179
"umi-request" : " ^1.3.5" ,
180
180
"url-loader" : " ^3.0.0" ,
181
- "vue" : " ^3.0.2 " ,
181
+ "vue" : " ^3.0.4 " ,
182
182
"vue-antd-md-loader" : " ^1.2.1-beta.1" ,
183
183
"vue-clipboard2" : " 0.3.1" ,
184
184
"vue-draggable-resizable" : " ^2.1.0" ,
You can’t perform that action at this time.
0 commit comments