fix: only navigate to root when document is focus
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -138,6 +138,7 @@ function FeedListImpl({ className, view }: { className?: string; view: number })
|
||||
className="font-bold"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
if (!document.hasFocus()) return
|
||||
if (view !== undefined) {
|
||||
navigateEntry({
|
||||
entryId: null,
|
||||
|
||||
Reference in New Issue
Block a user