Title: [BUG]: modebar toggle buttons use the wrong initial active icon color · Issue #8129 · plotly/plotly.js · GitHub
Open Graph Title: [BUG]: modebar toggle buttons use the wrong initial active icon color · Issue #8129 · plotly/plotly.js
X Title: [BUG]: modebar toggle buttons use the wrong initial active icon color · Issue #8129 · plotly/plotly.js
Description: 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 ...
Open Graph Description: 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/clic...
X Description: 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/clic...
Opengraph URL: https://github.com/plotly/plotly.js/issues/8129
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG]: modebar toggle buttons use the wrong initial active icon color","articleBody":"### Description\n\nmodebar toggle buttons such as `toggleHover` are initially rendered with the default icon fill instead of `modebar.activecolor`.\nThe correct active color is only applied **after hovering/clicking** with the button, causing a visible color change on first hover.\n\nI was confused by this color changes and realized that this is a bug.\n\n### Screenshots\n\nInitial color\n\u003cimg width=\"290\" height=\"77\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6af77b6a-b12b-441f-b53a-539488c0dd7f\" />\n\nAfter hovering\n\n\u003cimg width=\"318\" height=\"95\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/c3f8abd5-bacf-41c5-9aff-4536c1b14e4c\" />\n\n### Codepen\n\nhttps://codepen.io/Lexachoc/pen/WbpJQdz\n","author":{"url":"https://github.com/Lexachoc","@type":"Person","name":"Lexachoc"},"datePublished":"2026-10-16T23:30:47Z","url":"https://github.com/plotly/plotly.js/issues/8129"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8fcf8dbe-1fc5-5cf6-e250-52d589a45cae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BBEE:38C5CF:3395B8C:4166BA4:6B01BB86 |
| html-safe-nonce | 01a7826c8f7fa2237abeaa5daf5d91dce40932961d491e00538ea4d190455453 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkVFOjM4QzVDRjozMzk1QjhDOjQxNjZCQTQ6NkIwMUJCODYiLCJ2aXNpdG9yX2lkIjoiNjIyODIxMjM4NTAyMzM3NjI2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a4d2b3bd855ed0f5f9117a5799a488af6cdc87870b751be75e79087f7125cfc |
| hovercard-subject-tag | issue:5892622620 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/8129/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee36b9b20ac61f0de7ad38f3cbfbfcd36f2121bbafe53475c68fbac244da45a7/plotly/plotly.js/issues/8129 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee36b9b20ac61f0de7ad38f3cbfbfcd36f2121bbafe53475c68fbac244da45a7/plotly/plotly.js/issues/8129 |
| og:image:alt | 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/clic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lexachoc |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width