We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce038b2 commit b5b31f2Copy full SHA for b5b31f2
packages/cascader/src/cascader.vue
@@ -413,6 +413,7 @@ export default {
413
handleDropdownLeave() {
414
this.filtering = false;
415
this.inputValue = this.presentText;
416
+ this.doDestroy();
417
},
418
handleKeyDown(event) {
419
switch (event.keyCode) {
@@ -643,7 +644,9 @@ export default {
643
644
const offsetHeight = Math.round(tags.getBoundingClientRect().height);
645
const height = Math.max(offsetHeight + 6, inputInitialHeight) + 'px';
646
inputInner.style.height = height;
- this.updatePopper();
647
+ if (this.dropDownVisible) {
648
+ this.updatePopper();
649
+ }
650
}
651
652
0 commit comments