Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Theme toggle only updates the header, not the full page, and doesn't persist after refresh #273

Open
Saurabhchaudhary9799 opened this issue Oct 23, 2024 · 4 comments · May be fixed by #290

Comments

@Saurabhchaudhary9799
Copy link
Contributor

Issue Template

Description

This issue is related to theme change button. After clicking on toggle button , It updates only header theme not of full page. And after changing the page , it remains the same as previous.

Steps to Reproduce

Please provide step-by-step instructions on how to reproduce the issue:

  1. Go to 'Home page'
  2. Click on 'toggle button'
  3. Click on any header link except current header
  4. See error

Expected Behavior

  • When the theme toggle button is clicked, the theme (e.g., light/dark mode) should update across the entire page, not just the header.
  • The theme change should persist across page reloads.

Actual Behavior

  • Clicking the theme toggle button only updates the theme of the header.
  • The rest of the page remains in the previous theme.
  • After refreshing the page, the theme reverts to the previous state and does not reflect the change made by the toggle button.

Screenshots

Screencast.from.2024-10-23.18-38-15.webm
@Saurabhchaudhary9799
Copy link
Contributor Author

Saurabhchaudhary9799 commented Oct 24, 2024

@theashikagupta @yashmandi , could you please assign this to me ?

@Saurabhchaudhary9799
Copy link
Contributor Author

@theashikagupta @yashmandi , could you please assign this to me ?

@Saurabhchaudhary9799
Copy link
Contributor Author

@theashikagupta @yashmandi , please assign me.

@theashikagupta
Copy link
Collaborator

Assigned @Saurabhchaudhary9799

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants