Skip to content

[BUG]: modebar toggle buttons use the wrong initial active icon color #8129

Open

Description

@Lexachoc

Description

modebar toggle buttons such as toggleHover are initially rendered with the default icon fill instead of modebar.activecolor.
The correct active color is only applied after hovering/clicking with the button, causing a visible color change on first hover.

I was confused by this color changes and realized that this is a bug.

Screenshots

Initial color
Image

After hovering

Image

Codepen

https://codepen.io/Lexachoc/pen/WbpJQdz

Activity

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

    bugsomething broken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions