ooade/react-click-away-listener

OnClickAway trigger when I switch browser tab

imyanglu opened this issue · 4 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. switch tab
  2. back to current tab
  3. onClickAway triggerd

Expected behavior
onClickAway not trigger

Chrome

ooade commented

Hi @imyanglu, what version of the library are you using? Because I tried switching tabs on the example application, and it worked fine.

Hi @imyanglu, what version of the library are you using? Because I tried switching tabs on the example application, and it worked fine.

it's 2.2.1

ooade commented

Hi @imyanglu, what version of the library are you using? Because I tried switching tabs on the example application, and it worked fine.

it's 2.2.1

I'd be glad if you can create an example that mirrors what you have because I can't seem to reproduce it.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.