mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [select-v2] fix select-v2 dropdown width (#8442)
Co-authored-by: qinzz <qinzz@chint.com>
This commit is contained in:
@@ -200,7 +200,7 @@ const useSelect = (props: ExtractPropTypes<typeof SelectProps>, emit) => {
|
||||
})
|
||||
|
||||
const calculatePopperSize = () => {
|
||||
popperSize.value = selectRef.value?.getBoundingClientRect?.()?.width || 200
|
||||
popperSize.value = selectRef.value?.offsetWidth || 200
|
||||
}
|
||||
|
||||
const inputWrapperStyle = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user