Skip to content

Conversation

@cilliand
Copy link

Added a withFocus prop and EventListener which detects if the document has focus. This can then be used to ensure isVisible tracking only happens when the user is looking at their screen good for checking if a user has "read" a message for example.

This includes body prop from #52

@coveralls
Copy link

coveralls commented Aug 17, 2019

Coverage Status

Coverage decreased (-5.5%) to 91.453% when pulling 7918ef6 on cilliand:master into f4724fb on fkhadra:master.

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.

3 participants