From a5f7d22620fe66ae924a2a998e9ad22897e34e64 Mon Sep 17 00:00:00 2001 From: Wugaoliang Date: Tue, 27 Oct 2020 15:51:39 +0800 Subject: [PATCH] fix: #1253 --- CHANGELOG.md | 3 ++- components/date-picker/TimePicker.jsx | 1 - components/popper/index.js | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 344e7ccc6..8e3eef1f7 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) ## 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