Skip to content
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

modal 组件,当高度过高时出现的bug #3699

Closed
llqgit opened this issue Nov 2, 2016 · 5 comments
Closed

modal 组件,当高度过高时出现的bug #3699

llqgit opened this issue Nov 2, 2016 · 5 comments

Comments

@llqgit
Copy link

llqgit commented Nov 2, 2016

发生问题的环境是:

  • antd 版本: 2.2.0
  • 操作系统及其版本: macOS 10.12.1
  • 浏览器及其版本: chrome 54.0.2840.71 (64-bit)

您做了什么?请提供尽可能详细的重现步骤。

引入 antd 了 Modal
Modal 内容高度超过屏幕

您期待的结果是:

和 safari 一样正常显示

safari 正常显示时的底部位置

实际上的结果是:

chrome 错位了,似乎是没有重新渲染导致的
下面的那个部分其实是 Modal 自身的中部位置,。

注:内容过高,向上滑动才能看见 Modal 底部。

chrome 错误显示时的底部位置

@benjycui
Copy link
Contributor

benjycui commented Nov 2, 2016

Please provide a re-producible demo: http://codepen.io/benjycui/pen/KgPZrE?editors=001

@llqgit
Copy link
Author

llqgit commented Nov 2, 2016

I want but i couldn't, sorry. @benjycui
when I build on the codepen, there always be an Error that not happened in my local project.

@benjycui
Copy link
Contributor

benjycui commented Nov 3, 2016

Then try to provide a re-producible repo.

@llqgit
Copy link
Author

llqgit commented Nov 3, 2016

I run the same code today. And the error disappeared. I think it may be my chrome error some how, not the antd. Thanks for your time @benjycui

@llqgit llqgit closed this as completed Nov 3, 2016
@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
zombieJ added a commit that referenced this issue Dec 26, 2018
afc163 added a commit that referenced this issue Dec 26, 2018
* master:
  Fixed Modal width when screen size smaller than 768px
  🚨 coverage precision to 1
  🚨 update .codecov.yml
  💄 Fix Badge animation jump when count is ReactNode
  fix Popover arrow narrow line at top
  fix Popover arrow border in different directions
  fix popover arrow top shadow
  Change render of + & - icon fix #13924
  🐛 loose button type propTypes for custom usage
  fix input has min size close #3699
  fix: fix-picture-spell-error
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants