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

Realign popup menu to target after DOM updated #92

Closed
wants to merge 1 commit into from
Closed

Realign popup menu to target after DOM updated #92

wants to merge 1 commit into from

Conversation

superRaytin
Copy link
Contributor

This will close: ant-design/ant-design#1827

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 76.276% when pulling a657e59 on superRaytin:fix-popup-alignment into 7d7b742 on react-component:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 76.276% when pulling c74a0f8 on superRaytin:fix-popup-alignment into 7d7b742 on react-component:master.

// fix for https://github.com/ant-design/ant-design/issues/1827
if (props.choiceTransitionName) {
// wait animation completed
setTimeout(() => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setTimeout 不行的

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

呃,除了 setTimeout,有其他更好的方法么?

@yiminghe yiminghe closed this in e117897 May 26, 2016
@superRaytin superRaytin deleted the fix-popup-alignment branch May 26, 2016 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select 选择器问题
3 participants