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

ui: Fix sticky nspace menu #7164

Merged
merged 6 commits into from
Jan 31, 2020
Merged

Conversation

johncowen
Copy link
Contributor

@johncowen johncowen commented Jan 29, 2020

Occasionally the nspace menu would stay open when clicked. This PR adds a route listener to the menu so we can always close the menu on route change.

Ideally I'd prefer components not to be aware of routes, so we may change this at some point in the future if we find an approach that we are happier with.

Tests included (you had to click around a bit to get it to stay open)

(see #7187 for test problems/solutions)

@johncowen johncowen added the theme/ui Anything related to the UI label Jan 29, 2020
@johncowen johncowen requested a review from a team January 29, 2020 16:19
@johncowen johncowen added this to the 1.7.0 milestone Jan 29, 2020
@johncowen johncowen modified the milestones: 1.7.0, 1.7.x Jan 30, 2020
Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

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

LGTM

@johncowen johncowen merged commit f45880b into ui-staging Jan 31, 2020
@johncowen johncowen deleted the bugfix/ui-sticky-nspace-menu branch January 31, 2020 14:11
@johncowen johncowen modified the milestones: 1.7.x, 1.7.3, 1.7.2 Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants