Skip to content

Changing the theme doesn't work #16

@pomber

Description

@pomber

Theme is not updated when I change the theme prop.
Minimal repro: https://codesandbox.io/s/9415mzmr0w

My current workaround is changing the key of the Highlight component together with the theme prop, so the component is mounted again when the theme changes (line 26 in the linked codesandbox).

Sorry I didn't have time to debug it today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions