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

Fix menu toggle #714

Merged
merged 4 commits into from
Aug 12, 2019
Merged

Fix menu toggle #714

merged 4 commits into from
Aug 12, 2019

Conversation

schmidtk
Copy link
Contributor

@schmidtk schmidtk commented Aug 7, 2019

The menu toggle behavior was implemented with a blacklist of elements that shouldn't toggle, and instead always open a new menu. The grid wasn't in the blacklist and doesn't support toggling the menu, causing the menu to be closed while leaving the open flag set to true. This changes the behavior to support menu toggle on buttons and button groups.

Updated Cypress tests to remove the workaround for #667, and updated the screenshot following the default icon fix for #676.

@schmidtk schmidtk self-assigned this Aug 7, 2019
@justin-bits
Copy link
Collaborator

Export test fails:

  1. Feature list Context menu Export:
    Uncaught TypeError: Cannot read property 'firstElementChild' of undefined

@justin-bits
Copy link
Collaborator

Also, #697 can probably be closed with this PR.

@schmidtk
Copy link
Contributor Author

schmidtk commented Aug 7, 2019

Export test fails

That error is unrelated and will randomly happen on master, see #716.

@schmidtk schmidtk merged commit a8b4cba into ngageoint:master Aug 12, 2019
@schmidtk schmidtk deleted the fix-menu-toggle branch August 12, 2019 12:04
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.

3 participants