File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 3030 display : inline-block ;
3131 text-align : left ;
3232
33+ & :hover ,
34+ & :focus {
35+ .tiny-svg-custom {
36+ visibility : hidden ;
37+ }
38+ }
39+
3340 .tiny-svg {
3441 font-size : var (--tv-Picker-icon-size );
3542 fill : var (--tv-Picker-icon-color );
5158 }
5259
5360 & .show-auto-width {
54-
5561 & .@{input-prefix-cls} ,
5662 & .@{input-prefix-cls} __inner {
5763 width : 100% ;
7682
7783 .baseClearicon {
7884 position : absolute ;
79- background-color : var (--tv-Picker-input-clear-icon-bg );
8085
8186 & :hover {
8287 fill : var (--tv-Picker-icon-color-hover );
130135 }
131136 }
132137
133- .@{range-prefix-cls} __close-icon :has(> svg )+ .@{range-prefix-cls} __icon {
138+ .@{range-prefix-cls} __close-icon :has(> svg ) + .@{range-prefix-cls} __icon {
134139 display : none ;
135140 }
136141 }
310315 }
311316 }
312317 }
313- }
318+ }
Original file line number Diff line number Diff line change 5050 </template >
5151 <template #suffix >
5252 <i class =" tiny-input__icon-container" >
53- <transition name =" tiny-transition-icon-scale-in" >
53+ <div name =" tiny-transition-icon-scale-in" >
5454 <component
5555 :is =" state.showClose ? clearIcon : null"
5656 @click =" handleClickIcon"
5959 v-if =" state.haveTrigger"
6060 class =" baseClearicon"
6161 />
62- </transition >
63- <component :is =" state.triggerClass" @click =" handleFocus" class =" tiny-svg-size" />
62+ </div >
63+ <component
64+ :is =" state.triggerClass"
65+ @click =" handleFocus"
66+ :class =" state.displayValue ? 'tiny-svg-custom' : ''"
67+ class =" tiny-svg-size"
68+ />
6469 </i >
6570 </template >
6671 </tiny-input >
You can’t perform that action at this time.
0 commit comments