-
Notifications
You must be signed in to change notification settings - Fork 973
add a null page view when all windows lose focus #3630
Conversation
f5aced5
to
b11e3d8
Compare
Could you link up the issue? Thanks. |
break | ||
case AppConstants.APP_IDLE_STATE_CHANGED: | ||
if (action.idleState !== 'active') { | ||
addPageView(null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does a null page view behave?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it just logs the timestamp when the browser became inactive. We use the same thing for closing all windows
b11e3d8
to
92722fb
Compare
add a null page view when idle fixes #3650
need to fix the commit, it should say fixes #3650 |
Moving to 0.12.1 for now, please merge when reviewed @mrose17 it could make it in a respin still. |
@bbondy - i have reviewed this PR and it works well on my system. @bridiver - we may need to iterate a bit in the future, specifically to deal with mouse enter events and scrolling events; however, i'd like us to drive this version for a while before digging into it again. many thanks for the fast updates! |
cc @mrose17