Shared:ContextMenu:Fix small width.
This commit is contained in:
parent
6f33ca984f
commit
87a95b6d42
@ -229,7 +229,7 @@ const ContextMenu = React.forwardRef((props: ContextMenuProps, ref) => {
|
|||||||
|
|
||||||
const widthMaxContent = Math.max(...optionsWidth);
|
const widthMaxContent = Math.max(...optionsWidth);
|
||||||
|
|
||||||
width = width || widthMaxContent;
|
width = widthMaxContent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user