We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99019b7 commit 512826cCopy full SHA for 512826c
src/theme/book.js
@@ -380,7 +380,7 @@ function playpen_text(playpen) {
380
381
themePopup.addEventListener('focusout', function(e) {
382
// e.relatedTarget is null in Safari and Firefox on macOS (see workaround below)
383
- if (!!e.relatedTarget && !themePopup.contains(e.relatedTarget)) {
+ if (!!e.relatedTarget && !themeToggleButton.contains(e.relatedTarget) && !themePopup.contains(e.relatedTarget)) {
384
hideThemes();
385
}
386
});
0 commit comments