Title: [Tabs] Cannot change active text color for selected tabstripitem · Issue #7507 · NativeScript/NativeScript · GitHub
Open Graph Title: [Tabs] Cannot change active text color for selected tabstripitem · Issue #7507 · NativeScript/NativeScript
X Title: [Tabs] Cannot change active text color for selected tabstripitem · Issue #7507 · NativeScript/NativeScript
Description: Environment CLI: 6.0.0 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.0 Describe the bug Cannot change text color for selected tabstripitem applied via "active" pseudoselector. To Reproduce Use the following snippe...
Open Graph Description: Environment CLI: 6.0.0 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.0 Describe the bug Cannot change text color for selected tabstripitem applied via "active" pseudoselecto...
X Description: Environment CLI: 6.0.0 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.0 Describe the bug Cannot change text color for selected tabstripitem applied via "active" pse...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7507
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Tabs] Cannot change active text color for selected tabstripitem","articleBody":"**Environment**\r\n - CLI: 6.0.0\r\n - Cross-platform modules: 6.0.1\r\n - Android Runtime: 6.0.0\r\n - iOS Runtime: 6.0.0\r\n\r\n**Describe the bug**\r\nCannot change text color for selected tabstripitem applied via \"active\" pseudoselector.\r\n\r\n**To Reproduce**\r\nUse the following snippet (also available in e2e/ui-tests-app -\u003e tabs -\u003e color example):\r\n``` xml\r\n \u003cTabs\u003e\r\n \u003cTabStrip\u003e\r\n \u003cTabStripItem title=\"First\" class=\"special\"\u003e\u003c/TabStripItem\u003e\r\n \u003cTabStripItem title=\"Second\"\u003e\u003c/TabStripItem\u003e\r\n \u003c/TabStrip\u003e\r\n\r\n \u003cTabContentItem class=\"special\"\u003e\r\n \u003cGridLayout\u003e\r\n \u003cLabel text=\"First View\" /\u003e\r\n \u003c/GridLayout\u003e\r\n \u003c/TabContentItem\u003e\r\n\r\n \u003cTabContentItem\u003e\r\n \u003cGridLayout\u003e\r\n \u003cLabel text=\"Second View\" /\u003e\r\n \u003c/GridLayout\u003e\r\n \u003c/TabContentItem\u003e\r\n \u003c/Tabs\u003e\r\n```\r\n``` css\r\nTabs {\r\n color: gold;\r\n}\r\n\r\nTabContentItem.special {\r\n color: olive;\r\n}\r\n\r\nTabStrip {\r\n color: skyblue;\r\n}\r\n\r\nTabStripItem.special {\r\n color: teal;\r\n}\r\n\r\nTabStripItem.special:active {\r\n color: yellowgreen;\r\n}\r\n```\r\n\r\n**Expected behavior**\r\nShould be able to change text color for selected tabstripitem applied via \"active\" pseudoselector.\r\n\r\n\r\n\r\n\u003cbountysource-plugin\u003e\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/76899011-tabs-cannot-change-active-text-color-for-selected-tabstripitem?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github).\r\n\u003c/bountysource-plugin\u003e","author":{"url":"https://github.com/manoldonev","@type":"Person","name":"manoldonev"},"datePublished":"2019-07-11T14:41:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/7507/NativeScript/issues/7507"}
| 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:8885969e-b9af-60cf-c03f-0c25142efba1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A392:1DD9ED:3246757:44F2E34:6972C92B |
| html-safe-nonce | 7d4dd851588e34952f28c17c3f311ca8e52daad8472e92663ed6e982406fb9f7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzkyOjFERDlFRDozMjQ2NzU3OjQ0RjJFMzQ6Njk3MkM5MkIiLCJ2aXNpdG9yX2lkIjoiNDE5ODM5NDk3NTI5ODQzOTQ2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1bac516cca3fc1f8af52bdb63b17162736c5bb44db3b5a3e27a804a40bad4cf9 |
| hovercard-subject-tag | issue:466935493 |
| 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/NativeScript/NativeScript/7507/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f71f8d3a6da0a9db8c66e8c81f592b2b5240bd4b28b31c1306af4e8a87b49547/NativeScript/NativeScript/issues/7507 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f71f8d3a6da0a9db8c66e8c81f592b2b5240bd4b28b31c1306af4e8a87b49547/NativeScript/NativeScript/issues/7507 |
| og:image:alt | Environment CLI: 6.0.0 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.0 Describe the bug Cannot change text color for selected tabstripitem applied via "active" pseudoselecto... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | manoldonev |
| hostname | github.com |
| expected-hostname | github.com |
| None | aa656e37a6f46b81c2416d9c983f7c54e264ee31be17c0e6c9414b9f9f9c6eb4 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| 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 | add6bd61de5b348d2978a698a5796a7d0438e7be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width