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

feat: add event listener option #283

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gonenoob
Copy link

增加triggerEventListenerOption参数,在react 17时,设置成{capture: true}时,clickOutsideHandler中关闭逻辑不会被使用者业务逻辑里的stopPropagation 破坏。

@lgtm-com
Copy link
Contributor

lgtm-com bot commented Nov 22, 2021

This pull request introduces 1 alert when merging faea604 into 92793b4 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

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.

1 participant