-
-
Notifications
You must be signed in to change notification settings - Fork 50.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drawer display error when viewport change size #11326
Comments
@jljsj33 look |
说中文 |
没监听 resize 的问题。。。 |
@afc163 点表情挺快哦,,呀的。。一堆中国人讲着中式英文,,,为什么不能让老外用谷歌翻译。。。 |
不要监听 resize,用纯样式解决。 |
我知道,,antd 的好像不需要转换成 px,,我看看能否用 %。。。 |
用 |
不用 right ,,,手机上会跑不动。。。 |
jljsj33
added a commit
to react-component/drawer
that referenced
this issue
Jul 18, 2018
jljsj33
added a commit
to react-component/drawer
that referenced
this issue
Jul 18, 2018
Merged
fix in #11356 |
bors bot
referenced
this issue
in mozilla/delivery-console
Jul 25, 2018
319: Update dependency antd to v3.7.2 r=magopian a=renovate[bot] This Pull Request updates dependency [antd](https://github.com/ant-design/ant-design) from `v3.7.1` to `v3.7.2` <details> <summary>Release Notes</summary> ### [3.7.2](https://github.com/ant-design/ant-design/releases/3.7.2) [Compare Source](ant-design/ant-design@3.7.1...3.7.2) - DatePicker - 🐞 **Fix issue resulting in year and month can not be changed in control mode.** [b9992f4](ant-design/ant-design@b9992f4) - 🐞 Fix warning of `getDerivedStateFromProp`. [#​11398](`https://github.com/ant-design/ant-design/pull/11398`) [@​yoyo837] - Drawer - 🐞 Fix close animation when setting `destroyOnClose`. [#​11307](`https://github.com/ant-design/ant-design/issues/11307`) - 🐞 Fix display issue when using a `vw` value as `width`. [#​11326](`https://github.com/ant-design/ant-design/issues/11326`) - 🐞 Fix `wrapClassName` now working. - 🐞 Fix text overflow of Tooltip. [#​11402](`https://github.com/ant-design/ant-design/pull/11402`) [@​weidapao] - 🐞 Fix style issue of dark theme Menu in Layout.Header. [#​11400](`https://github.com/ant-design/ant-design/pull/11400`) [@​hongxuWei] - 🐞 Fix the arrow buttons of InputNumber showing wrong positon in a fixed table. [#​11408](`https://github.com/ant-design/ant-design/issues/11408`) - 🐞 Fix issue resulting in Select.Option shows wrong border radius in Select.OptGroup. [6cb6f5c](ant-design/ant-design@6cb6f5c) - 🐞 Fix issue resulting in `onChange` was trigged twice when click the filter icon of Table. [#​11164](`https://github.com/ant-design/ant-design/issues/11164`) [@​adybionka] - 🐞 Fix issue resulting title of Model.confirm shows scrollbar on Firefox. [#​11432](`https://github.com/ant-design/ant-design/issues/11432`) - TypeScript - 🐞 Fix type definition of Radio.Group. [#​11409](`https://github.com/ant-design/ant-design/pull/11409`) [@​eddiemoore] - 🐞 Fix type definition of TreeSelect. [#​11442](`https://github.com/ant-design/ant-design/pull/11442`) [@​JribiBelhassen] - 🐞 Fix type definition of Badge. [#​11421](`https://github.com/ant-design/ant-design/pull/11421`) [@​zongzi531] --- - DatePicker - 🐞 **修复在受控模式下不能切换年月的问题。**[b9992f4](ant-design/ant-design@b9992f4) - 🐞 修复在 `getDerivedStateFromProp` 的警告。[#​11398](`https://github.com/ant-design/ant-design/pull/11398`) [@​yoyo837] - Drawer - 🐞 修复使用 `destroyOnClose` 时没有关闭动画的问题。[#​11307](`https://github.com/ant-design/ant-design/issues/11307`) - 🐞 修复 `width` 以 `vw` 为单位时的显示错误。[#​11326](`https://github.com/ant-design/ant-design/issues/11326`) - 🐞 修复 `wrapClassName` 属性无效的问题。 - 🐞 修复 Tooltip 文字溢出的问题。[#​11402](`https://github.com/ant-design/ant-design/pull/11402`) [@​weidapao] - 🐞 修复 Menu 在 `theme` 为 `dark` 是在 Layout.Header 里的样式问题。[#​11400](`https://github.com/ant-design/ant-design/pull/11400`) [@​hongxuWei] - 🐞 修复 InputNumber 的箭头按钮在使用了固定列的 Table 里显示错位的问题。[#​11408](`https://github.com/ant-design/ant-design/issues/11408`) - 🐞 修复 Select 使用分组时 Option 的圆角显示错误。[6cb6f5c](ant-design/ant-design@6cb6f5c) - 🐞 修复 Table 第一次点击过滤按钮的时候 `onChange` 会被触发两次的问题。[#​11164](`https://github.com/ant-design/ant-design/issues/11164`) [@​adybionka] - 🐞 修复 Model.confirm 的标题在 Firefox 下会显示滚动条的问题。[#​11432](`https://github.com/ant-design/ant-design/issues/11432`) - TypeScript - 🐞 修复 Radio.Group 类型定义。[#​11409](`https://github.com/ant-design/ant-design/pull/11409`) [@​eddiemoore] - 🐞 修复 TreeSelect 类型定义。[#​11442](`https://github.com/ant-design/ant-design/pull/11442`) [@​JribiBelhassen] - 🐞 修复 Badge 类型定义。[#​11421](`https://github.com/ant-design/ant-design/pull/11421`) [@​zongzi531] --- </details> --- This PR has been generated by [Renovate Bot](https://renovatebot.com). Co-authored-by: Renovate Bot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.7.0
Environment
WIN10 - Chome67 - React 16
Reproduction link
Steps to reproduce
Open and close in small size viewport, then change viewport to big size.
What is expected?
Drawer display ok
What is actually happening?
Percent display error
The text was updated successfully, but these errors were encountered: