Merge pull request #2802 from chenfengjw163/2.0

dropdown component in fast switch display hidden times error
This commit is contained in:
Aresn 2018-01-15 18:11:20 +08:00 committed by GitHub
commit 9044be7865
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,8 +61,10 @@
if (this.popper) {
this.resetTransformOrigin(this.popper);
setTimeout(() => {
if (this.popper) {
this.popper.destroy();
this.popper = null;
}
}, 300);
}
},