Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

When switching dark or light themes, the editor does not immediately switch themes #17

Open
codymullins opened this issue Apr 30, 2022 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@codymullins
Copy link
Contributor

Describe the bug
When switching dark or light themes, the editor does not immediately switch themes

To Reproduce
Steps to reproduce the behavior:

  1. Execute a request
  2. Open the settings dialog
  3. Switch the theme (dark to light or vice-versa)
  4. Click OK
  5. Themes for the app switch, editor does not
  6. Click the header tab under the response or request
  7. Click back to the editor, now the theme has switched.

Expected behavior
Theme for the editor should switch immediately after changing themes.
A clear and concise description of what you expected to happen.

Notes
This may be fixed by figuring out how to manually destroy and re-render the editor. Potentially with StateHasChanged?

@codymullins codymullins added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Apr 30, 2022
@codymullins codymullins added this to the v1 milestone Apr 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant