Cascader: highlight input when menu clicked (#12341)

pull/12348/head
hetech 2018-08-13 15:58:17 +08:00 committed by Jikkai Xiao
parent 9f80cf91da
commit 72349e1a62
2 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@
:validate-event="false" :validate-event="false"
:size="size" :size="size"
:disabled="cascaderDisabled" :disabled="cascaderDisabled"
:class="{ 'is-focus': menuVisible }"
> >
<template slot="suffix"> <template slot="suffix">
<i <i

View File

@ -14,6 +14,10 @@
cursor: pointer; cursor: pointer;
} }
.el-input.is-focus .el-input__inner {
border-color: $--input-focus-border;
}
.el-input__icon { .el-input__icon {
transition: none; transition: none;
} }