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

Popover 在 Input textarea下位置出错 #4092

Closed
FourKnife opened this issue Dec 1, 2016 · 2 comments
Closed

Popover 在 Input textarea下位置出错 #4092

FourKnife opened this issue Dec 1, 2016 · 2 comments

Comments

@FourKnife
Copy link

FourKnife commented Dec 1, 2016

发生问题的环境是:

  • antd 版本: 2.3.2
  • 操作系统及其版本: 0S X 10.11
  • 浏览器及其版本: chrome 54

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

const { Input, Popover } = antd;

const Context = () => { return(

test
);};

ReactDOM.render(, document.getElementById('container'));

您期待的结果是:

Popover 弹窗位置显示在Input中间,

实际上的结果是:

image
显示在了input下部,是input高度和位置计算错了?
<!- 如:样式错位了,最好提供截图 -->

可重现的在线演示

http://codepen.io/anon/pen/YpYKQz?editors=001#anon-signup

@benjycui
Copy link
Contributor

benjycui commented Dec 1, 2016

Please learn how to write readable Markdown, and it's a good habit to preview your comment before submitting.

@afc163 afc163 closed this as completed in 0bb71e6 Dec 3, 2016
afc163 added a commit that referenced this issue Dec 4, 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
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