diff --git a/CHANGELOG.md b/CHANGELOG.md index 641430ca6..1e5b5dd46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,9 @@ ## 3.0.1 - 修复 `Input` 在受控状态下,设置 value 为 null 时报错问题 [#1246](https://github.com/XiaoMi/hiui/issues/1246) -- 优化 `` 时间范围选择器,支持字符串格式的 value [#1245](https://github.com/XiaoMi/hiui/issues/1245) - 修复 `Select` 设置 autoload 为 true 时无限的调用接口问题 [#1249](https://github.com/XiaoMi/hiui/issues/1249) +- 修复 `` 弹出层在页面底部未翻转到上方问题 [#1253](https://github.com/XiaoMi/hiui/issues/1253) +- 优化 `` 支持字符串格式的 value [#1245](https://github.com/XiaoMi/hiui/issues/1245) - 修复 `SelectTree` 弹出层在页面底部不能翻转问题 [#1254](https://github.com/XiaoMi/hiui/issues/1254) ## 3.0.0 diff --git a/components/date-picker/TimePicker.jsx b/components/date-picker/TimePicker.jsx index b552ee801..1e73ddebc 100644 --- a/components/date-picker/TimePicker.jsx +++ b/components/date-picker/TimePicker.jsx @@ -143,7 +143,6 @@ const TimePicker = ({ leftGap={0} overlayClassName={overlayClassName} width={false} - preventOverflow className={timePopperCls} placement={placement} onClickOutside={clickOutsideEvent} diff --git a/components/popper/index.js b/components/popper/index.js index 8ce94d15c..56d9bc53e 100644 --- a/components/popper/index.js +++ b/components/popper/index.js @@ -11,7 +11,6 @@ const AnimationClassName = 'hi-popper_transition' /** * @param {Function} onClickOutside 点击该元素外的回调方法 * @param {Function} setOverlayContainer 获取overLay的挂载父级元素 允许用户指定;如果不指定 popper自己处理 - * @param {Boolean} preventOverflow 防止溢出 */ const Popper = (props) => { const { show, attachEle, setOverlayContainer } = props