mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
Merge pull request #505 from RickCole21/master
调整一下Drawer下发的popoverContainer
This commit is contained in:
commit
742355daa2
@ -254,7 +254,9 @@ export default class Drawer extends React.Component<DrawerProps, object> {
|
||||
|
||||
@autobind
|
||||
getPopOverContainer() {
|
||||
return findDOMNode(this);
|
||||
return (findDOMNode(this) as HTMLElement).querySelector(
|
||||
`.${this.props.classPrefix}Drawer-content`
|
||||
);
|
||||
}
|
||||
|
||||
renderBody(body: SchemaNode, key?: any): React.ReactNode {
|
||||
|
Loading…
Reference in New Issue
Block a user