You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
document.hasFocus() is supported across the board and will be more reliable/correct than tracking state based on focus/blur events. Additionally, it means that Notification component users won’t need to initialize an empty element (<Notification disableActiveWindow title=''/>) in order for the component to properly track window activity.
The text was updated successfully, but these errors were encountered:
mikol
added a commit
to mikol/react-web-notification
that referenced
this issue
Sep 14, 2022
document.hasFocus()
is supported across the board and will be more reliable/correct than tracking state based onfocus
/blur
events. Additionally, it means thatNotification
component users won’t need to initialize an empty element (<Notification disableActiveWindow title=''/>
) in order for the component to properly track window activity.The text was updated successfully, but these errors were encountered: