Skip to content

Bug - [CodeEditor] - The CodeEditor does not react to app theme changes #11674

Closed

Description

@caponetto

Describe the problem
The CodeEditor component does not react to app theme changes

How do you reproduce the problem?

  1. Go to https://www.patternfly.org/components/code-editor
  2. Change the theme to Dark in the top right corner
  3. The CodeEditor does not react to app theme changes

Expected behavior
The CodeEditor should react to app theme changes

Is this issue blocking you?
List the workaround if there is one.
The workaround is manually setting the isDarkTheme prop based on the selected theme.

Screenshots

Screen.Recording.2025-03-13.at.3.30.29.PM.mov

Jira Issue: PF-1325

Activity

  1. added theissue type on Mar 13, 2025
  2. changed the title [-]Bug - [CodeEditor] - The CodeEditor does not react to app theme change to Dark[/-] [+]Bug - [CodeEditor] - The CodeEditor does not react to app theme changes[/+] on Mar 13, 2025
  3. thatblindgeye commented on Mar 21, 2025

    @thatblindgeye
    Contributor

    FWIW this may be related to #11506. That is more about being able to customize/choose theme preferences, but we would need to be able to ensure that 1) the global theme can dictate what theme the CodeEditor is using, and 2) allow overriding that to use a user-chosen theme (e.g. if I have the global theme set to "dark" I should still be able to have the CodeEditor in "light" theme if I choose).

  4. moved this from Needs triage to Backlog in PatternFly Issueson Mar 27, 2025
  5. github-actions commented on May 23, 2025

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

  6. moved this from Backlog to Ready to assign in PatternFly Issueson Jul 21, 2025
  7. github-actions commented on Sep 23, 2025

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

  8. patternfly-jira-sync commented on Jun 18, 2026

    @patternfly-jira-sync

    Closed via Jira sync - Jira issue PF-1325 was closed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions