The light/dark mode toggle button does not retain the user's preference after refreshing the page. When the page is reloaded, it defaults back to light mode regardless of the last selection.
βοΈ Steps to Reproduce
Steps to reproduce the behavior:
Open the application in a web browser.
Toggle the button to switch to dark mode.
Refresh the page.
βοΈ Expected Behavior
The application should retain the user's last selected mode (light or dark) even after refreshing the page, displaying the correct theme accordingly.
β Actual Behavior
After refreshing the page, the application defaults to light mode, losing the user's previous selection.
π· Screenshots
This feature Enhances your overlook of the website also is a appreciable step towards your project
π₯οΈ Environment (if applicable):
OS: (Windows)
Browser: (Chrome)
Version: (95.0.4638.69)
π§ Additional Information
-The issue occurs consistently across multiple sessions.
-Local storage is enabled in the browser settings.
-No other extensions or plugins that might interfere with local storage are active.
-The application is expected to handle user preferences correctly, as indicated in the implementation.
π Bug Report
π Description
The light/dark mode toggle button does not retain the user's preference after refreshing the page. When the page is reloaded, it defaults back to light mode regardless of the last selection.
βοΈ Steps to Reproduce
Steps to reproduce the behavior:
βοΈ Expected Behavior
The application should retain the user's last selected mode (light or dark) even after refreshing the page, displaying the correct theme accordingly.
β Actual Behavior
After refreshing the page, the application defaults to light mode, losing the user's previous selection.
π· Screenshots
This feature Enhances your overlook of the website also is a appreciable step towards your project
π₯οΈ Environment (if applicable):
π§ Additional Information
-The issue occurs consistently across multiple sessions. -Local storage is enabled in the browser settings. -No other extensions or plugins that might interfere with local storage are active. -The application is expected to handle user preferences correctly, as indicated in the implementation.