弹出位置优化
This commit is contained in:
parent
51b4e65512
commit
5d1a9318ec
|
@ -264,9 +264,7 @@ export class ColorControl extends React.PureComponent<
|
|||
|
||||
{isOpened ? (
|
||||
<Overlay
|
||||
placement={
|
||||
placement || 'left-bottom-left-top right-bottom-right-top'
|
||||
}
|
||||
placement={placement || 'auto'}
|
||||
target={() => findDOMNode(this)}
|
||||
onHide={this.close}
|
||||
container={popOverContainer || (() => findDOMNode(this))}
|
||||
|
|
Loading…
Reference in New Issue