Theme switcher do not save state in local storage
I have (default) theme light/dark/system switcher in user menu.
But it does not save the state in local storage.
Should it (is something wrong with my installation)?
4 Replies
it should, sometimes the browser setting prevents that
i use the same browser for https://filamentphp.com/docs - and it saves data to the localStorage (theme = system/light/dark). althou there is some other component used i think..
but not Filament User Theme-Switcher (in Panel) in my local site. should i debug it somehow?
Documentation - Filament
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Some "progress " with this problem - discovered i have some Alpine errors after upgrading Filament to v.3!
It is the Filament Panel default user menu 😦
I guess JS problem is directly related to that Filamentphp Theme switcher logic - no records appear in localstorage!
Also my Filament mobile view sidebar is not working - no menu items appear there (in desktop view they are appearing and working just fine).
No idea what's wrong with it..
try clear all the local storage data