fix(components):[select] namespace (#6486)

This commit is contained in:
gjfei 2022-03-10 15:39:42 +08:00 committed by GitHub
parent 80d903771f
commit 593082ec65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -654,7 +654,7 @@ export const useSelect = (props, states: States, ctx) => {
if (tooltipRef.value && target) {
const menu = tooltipRef.value?.popperRef?.contentRef?.querySelector?.(
'.el-select-dropdown__wrap'
`.${ns.be('dropdown', 'wrap')}`
)
if (menu) {
scrollIntoView(menu as HTMLElement, target)