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

fixes #5336: reorder focus() call to avoid scrolling #5549

Merged
merged 1 commit into from
Oct 18, 2012

Conversation

mfansler
Copy link
Contributor

Simple fix to prevent the page from scrolling due to focus being called on the modal before it has finished its transition into view. See Issue #5336.

@fat - I hope you'll let this go with no unit tests since the problem being fixed comes from CSS transitions which can't be tested in QUnit, afaik.

fat added a commit that referenced this pull request Oct 18, 2012
fixes #5336: reorder focus() call to avoid scrolling
@fat fat merged commit 3074737 into twbs:2.1.2-wip Oct 18, 2012
@fat
Copy link
Member

fat commented Oct 18, 2012

cool thx dude ❤️

@mfansler mfansler deleted the 2.1.2-wip branch June 15, 2022 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants