Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(components): [cascader] The height changes as you multiple select #13023

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
2 changes: 1 addition & 1 deletion packages/components/cascader/src/cascader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ const updateStyle = () => {
const { offsetHeight } = tagWrapperEl
const height =
presentTags.value.length > 0
? `${Math.max(offsetHeight + 6, inputInitialHeight)}px`
? `${Math.max(offsetHeight + 2, inputInitialHeight)}px`
: `${inputInitialHeight}px`
inputInner.style.height = height
updatePopperPosition()
Expand Down