mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Merge pull request #10904 from 2betop/style-input-number
style: 修复table 中放置带单位的 inputNumber 弹出被挡住问题
This commit is contained in:
commit
fab69c451d
@ -484,7 +484,8 @@ export default class NumberControl extends React.Component<
|
||||
env,
|
||||
name,
|
||||
showAsPercent,
|
||||
testIdBuilder
|
||||
testIdBuilder,
|
||||
popOverContainer
|
||||
} = this.props;
|
||||
const {unit} = this.state;
|
||||
const finalPrecision = this.filterNum(precision);
|
||||
@ -590,6 +591,7 @@ export default class NumberControl extends React.Component<
|
||||
onChange={this.handleChangeUnit}
|
||||
className={`${ns}NumberControl-unit`}
|
||||
disabled={disabled}
|
||||
popOverContainer={popOverContainer}
|
||||
/>
|
||||
) : (
|
||||
<div
|
||||
|
Loading…
Reference in New Issue
Block a user