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

Revert user-menu dropdown active class on sub-menu and close outside-click #3023

Merged

Conversation

kimsible
Copy link
Contributor

This PR reverts the recent proposition to close the dropdown sub-menu only on outside click and showing a background color on active links.

Now, autoclose is back on click inside and outside and active class is removed, because this active effect class caused some blinking effect on the dropdown.

@kimsible kimsible force-pushed the fix/user-menu-dropdown-close-on-click branch from 828598d to 7fb5ab5 Compare July 29, 2020 18:13
@Chocobozzz
Copy link
Owner

Thanks

@Chocobozzz Chocobozzz merged commit 837fe4f into Chocobozzz:develop Jul 31, 2020
<span
*ngIf="isInSmallView"
Copy link
Owner

@Chocobozzz Chocobozzz Jul 31, 2020

Choose a reason for hiding this comment

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

Is this deletion is a mistake?

Copy link
Owner

Choose a reason for hiding this comment

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

I put it back in 805d6a3 (we can revert if it was not a mistake) because it causes duplicate entries in the admin menu

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, thanks. Sorry, it was a mistake, without it would indeed duplicate the entry with one for the modal view and another for the dropdown view.

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.

2 participants