forked from react-bootstrap/react-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fixed] IE8 will now close an open DropdownButton menu when clicking …
…button This commit fixes an Internet Explorer 8 bug where attempting to close a button dropdown menu, by clicking the button itself, would not close the menu. Event.target is undefined in IE8, so `isNodeInRoot(e.target, React.findDOMNode(this))` would return false, allowing the click event to bubble up to the document and re-open the menu.
- Loading branch information
Will Hawker
authored and
Will Hawker
committed
Jun 1, 2015
1 parent
4e3a15f
commit 0cfbf3b
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters