Click a temp div on fullscreen to force button state change
This commit is contained in:
@@ -315,6 +315,10 @@
|
||||
(button as HTMLElement).blur(); // Remove focus from the button
|
||||
button.removeAttribute('aria-pressed'); // Reset any ARIA attributes that might indicate selection
|
||||
});
|
||||
|
||||
const tempDiv = document.createElement('div');
|
||||
tempDiv.click();
|
||||
document.removeChild(tempDiv);
|
||||
});
|
||||
|
||||
// Based off the following
|
||||
|
||||
Reference in New Issue
Block a user