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

When opening the dropdown, focus() the toggle BEFORE triggering 'shown' event #11281

Closed
wants to merge 1 commit into from

Conversation

colllin
Copy link
Contributor

@colllin colllin commented Oct 30, 2013

This is as much a question as it is a pull request. Is there a reason for calling $this.focus() AFTER triggering the 'shown' event? I've come across this multiple times now where I bind to the 'shown' event and try to focus() into an text input when the dropdown is shown. For example, if the dropdown menu has a text input in it. I can get around it by setting a timeout, and that doesn't bother me too much, but if it's all the same to you, maybe we should just flip the order here?

@cvrebert cvrebert modified the milestones: v3.2.0, v3.1.1 Feb 9, 2014
@fat
Copy link
Member

fat commented Mar 14, 2014

ya im happy with flipping it

@cvrebert
Copy link
Collaborator

cvrebert commented Apr 3, 2014

@fat So, are you okay with merging this for 3.2?

@fat
Copy link
Member

fat commented Apr 9, 2014

yep

@cvrebert cvrebert closed this in d7a3771 Apr 9, 2014
@mdo mdo mentioned this pull request Apr 9, 2014
jboning added a commit to jboning/eve_tools that referenced this pull request Feb 28, 2015
Saves the user a precious click! This required a bootstrap upgrade
because of twbs/bootstrap#11281 There were a few
places where .row was used without a .container and the upgrade made
those look terrible, so I fixed them.
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.

3 participants