Select: Fix width bug when maxVisibleValues is set (#113913)
* fix * fix
This commit is contained in:
@@ -26,6 +26,7 @@ class UnthemedValueContainer<Option, isMulti extends boolean, Group extends Grou
|
||||
if (
|
||||
this.ref.current &&
|
||||
this.props.selectProps.autoWidth &&
|
||||
!this.props.selectProps.maxVisibleValues &&
|
||||
!isEqual(prevProps.selectProps.value, this.props.selectProps.value)
|
||||
) {
|
||||
// Reset in order to measure the new width
|
||||
|
||||
Reference in New Issue
Block a user