fix: don't mark read when blur window
Signed-off-by: Innei <i@innei.in>
This commit is contained in:
@@ -67,6 +67,7 @@ function EntryItemImpl({
|
||||
const handleMouseEnter = useDebounceCallback(
|
||||
() => {
|
||||
if (!hoverMarkUnread) return
|
||||
if (!document.hasFocus()) return
|
||||
if (asRead) return
|
||||
|
||||
entryActions.markRead(entry.feedId, entry.entries.id, true)
|
||||
|
||||
Reference in New Issue
Block a user