Skip to content

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