Merge pull request #1972 from allenve/master

fix:PopOver宽度计算问题
This commit is contained in:
吴多益 2021-05-18 11:27:59 +08:00 committed by GitHub
commit 5d99967544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ export class PopOverContainer extends React.Component<
className={popOverClassName}
style={{
minWidth: this.target
? Math.max(this.target.offsetWidth().width, 100)
? Math.max(this.target.offsetWidth, 100)
: 'auto'
}}
onHide={this.close}