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

Dismiss popover on click instead of mousedown #4619

Merged
merged 1 commit into from Feb 11, 2019

Conversation

adube
Copy link
Contributor

@adube adube commented Feb 8, 2019

This patch changes the popover component to make it dismiss on body click instead of body mousedown.

It also fixes the unlistening (off) which given the wrong method (on was using an anonymous method returned by bind, off was using the original one). Now they both use the same.

@adube adube requested a review from fredj February 8, 2019 15:07
@adube adube merged commit 261702e into camptocamp:master Feb 11, 2019
@adube adube deleted the 775-fix-popover-dismiss branch February 11, 2019 13:23
@sbrunner sbrunner added this to the 2.4 milestone Feb 28, 2019
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.

None yet

3 participants