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 3c8a01b commit 22e2f18Copy full SHA for 22e2f18
resources/js/app.tsx
@@ -25,5 +25,5 @@ createInertiaApp({
25
},
26
});
27
28
-// This will set dark/light mode on load
+// This will set light / dark mode on load...
29
initializeTheme();
resources/js/hooks/use-mobile-navigation.ts
@@ -4,8 +4,10 @@ export function useMobileNavigation() {
4
const cleanup = useCallback(() => {
5
// Remove pointer-events style from body...
6
document.body.style.removeProperty('pointer-events');
7
+
8
// Find and click the close button of any open sheet...
9
const closeButton = document.querySelector('[data-radix-collection-item]');
10
11
if (closeButton instanceof HTMLElement) {
12
closeButton.click();
13
}
0 commit comments