Skip to content

Menu: Ignore bubbled mouseenter events on parent items #1535

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

Closed
wants to merge 2 commits into from
Closed

Menu: Ignore bubbled mouseenter events on parent items #1535

wants to merge 2 commits into from

Conversation

jzaefferer
Copy link
Member

Test uses QUnit 2.x API - inconsistent with the other tests, but also a good reference.

Fixes #11641

Test uses QUnit 2.x API - inconsistent with the other tests, but also
a good reference.

Fixes #11641
@@ -111,6 +111,47 @@ asyncTest( "handle focus of menu with active item", function() {
});
});

test( "handle mouseenter on nested menu item", function( assert ) {
assert.expect( 8 );
$.ui.menu.prototype.delay = 1;
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be reset at the end.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@scottgonzalez
Copy link
Member

Looks good.

@jzaefferer jzaefferer closed this in c770605 Apr 8, 2015
@jzaefferer jzaefferer deleted the menu-mouseenter-active branch April 8, 2015 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants