mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix: 修复 nested-select 弹出位置不正确问题 (#2693)
* fix: 修复 nested-select 弹出位置不正确问题 * 修复查找问题
This commit is contained in:
parent
65a5398030
commit
303c5a3a62
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "amis",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.5-beta.2",
|
||||
"description": "一种MIS页面生成工具",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
|
@ -1,3 +1,7 @@
|
||||
.#{$ns}NestedSelectControl {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.#{$ns}NestedSelect {
|
||||
position: relative;
|
||||
@include input-border();
|
||||
|
@ -602,7 +602,7 @@ export default class NestedSelectControl extends React.Component<
|
||||
return (
|
||||
<Overlay
|
||||
target={this.getTarget}
|
||||
container={popOverContainer || findDOMNode(this)?.parentElement}
|
||||
container={popOverContainer || (() => findDOMNode(this))}
|
||||
placement={'auto'}
|
||||
show
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user