Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.

fix: Fixes #383. Add an underlay to absorb a blur click away from the menu so nothing else in the UI clicked upon menu blur#384

Merged
Tbaut merged 5 commits intomasterfrom
luke-383-underlay
Jan 23, 2019
Merged

fix: Fixes #383. Add an underlay to absorb a blur click away from the menu so nothing else in the UI clicked upon menu blur#384
Tbaut merged 5 commits intomasterfrom
luke-383-underlay

Conversation

@ltfschoen
Copy link
Contributor

@ltfschoen ltfschoen commented Jan 22, 2019

When the menu is open and you click away from the menu (blur) to close it, then previously if your blur click was on a button then it would recognise the blur as being a click on a button that just so happened to be where you randomly clicked.

Now when you blur click there is an underlay that absorbs the blur click and disappears again until the menu is opened again.

Previously this functionality was introduced in PR #356 (comment), however it was accidently removed when addressing review comments.

@ltfschoen ltfschoen changed the title fix: Fixes #383. Restores underlay so nothing clicked upon menu blur fix: Fixes #383. Add an underlay to absorb a blur click away from the menu so nothing else in the UI clicked upon menu blur Jan 22, 2019
Copy link
Collaborator

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

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

Yes, lgtm. I think you did this in the previous PR, I accidentally told you to remove this part (I didn't grasp the issue), sorry about that.

Copy link
Collaborator

@Tbaut Tbaut left a comment

Choose a reason for hiding this comment

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

working well!

@Tbaut Tbaut merged commit 64e2e1f into master Jan 23, 2019
@Tbaut Tbaut deleted the luke-383-underlay branch January 23, 2019 10:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants