Title: [BottomNavigation][Tabs][iOS] TabStripItem font icon doesn't apply own classes · Issue #7547 · NativeScript/NativeScript · GitHub
Open Graph Title: [BottomNavigation][Tabs][iOS] TabStripItem font icon doesn't apply own classes · Issue #7547 · NativeScript/NativeScript
X Title: [BottomNavigation][Tabs][iOS] TabStripItem font icon doesn't apply own classes · Issue #7547 · NativeScript/NativeScript
Description: Environment CLI: 6.0.1 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.1 Describe the bug On iOS TabStripItem font icon doesn't get the element's classes. To Reproduce Use the following setup (also visible in e2e/ui...
Open Graph Description: Environment CLI: 6.0.1 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.1 Describe the bug On iOS TabStripItem font icon doesn't get the element's classes. To Reproduce Use the...
X Description: Environment CLI: 6.0.1 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.1 Describe the bug On iOS TabStripItem font icon doesn't get the element's classes. To Reproduce...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7547
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BottomNavigation][Tabs][iOS] TabStripItem font icon doesn't apply own classes","articleBody":"**Environment**\r\n - CLI: 6.0.1\r\n - Cross-platform modules: 6.0.1\r\n - Android Runtime: 6.0.0\r\n - iOS Runtime: 6.0.1\r\n\r\n**Describe the bug**\r\nOn iOS TabStripItem font icon doesn't get the element's classes.\r\n\r\n**To Reproduce**\r\nUse the following setup (also visible in e2e/ui-tests-app -\u003e tabs -\u003e font icons example):\r\n``` xml\r\n \u003cTabs\u003e\r\n \u003cTabStrip\u003e\r\n \u003cTabStripItem title=\"First\" iconSource=\"font://\u0026#xF10B;\" class=\"font-awesome font-size color\"\u003e\u003c/TabStripItem\u003e\r\n \u003c/TabStrip\u003e\r\n ...\r\n \u003c/Tabs\u003e\r\n```\r\n``` css\r\n.font-awesome {\r\n font-family: \"FontAwesome\";\r\n}\r\n\r\n.font-size {\r\n font-size: 36;\r\n}\r\n\r\n.color {\r\n color: blue;\r\n} \r\n```\r\n\r\nWith this setup, the font icon isn't shown on iOS.\r\n\r\n**Expected behavior**\r\nThe font icon should be shown properly.\r\n\r\n**Additional Context**\r\nThis alternative works because of inheritance:\r\n``` xml\r\n \u003cTabs class=\"font-awesome\"\u003e\r\n \u003cTabStrip\u003e\r\n \u003cTabStripItem title=\"First\" iconSource=\"font://\u0026#xF10B;\" class=\"font-awesome font-size color\"\u003e\u003c/TabStripItem\u003e\r\n \u003c/TabStrip\u003e\r\n ...\r\n \u003c/Tabs\u003e\r\n```\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/77224621-bottomnavigation-tabs-ios-tabstripitem-font-icon-doesn-t-apply-own-classes?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/MartoYankov","@type":"Person","name":"MartoYankov"},"datePublished":"2019-07-19T07:05:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7547/NativeScript/issues/7547"}
| 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:120c07b5-17c7-57bd-63a3-dcf4c52631b0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D270:2FF188:2D00499:3C1DFF1:6972F24B |
| html-safe-nonce | 953d264852180197351df84f38d527b6f017312889a29432a720c618f51713db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjcwOjJGRjE4ODoyRDAwNDk5OjNDMURGRjE6Njk3MkYyNEIiLCJ2aXNpdG9yX2lkIjoiODUyOTE3NjUzODk5NTk0NjA1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7775d7508b143068f23cbd4e1cf14d8015ed9cfe9e82b317248d5eef71b6dac7 |
| hovercard-subject-tag | issue:470172330 |
| 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/7547/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c96807ad0659d31874e7327dcfd15151be7e158e25d8d3cfade3509d8fbe9a18/NativeScript/NativeScript/issues/7547 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c96807ad0659d31874e7327dcfd15151be7e158e25d8d3cfade3509d8fbe9a18/NativeScript/NativeScript/issues/7547 |
| og:image:alt | Environment CLI: 6.0.1 Cross-platform modules: 6.0.1 Android Runtime: 6.0.0 iOS Runtime: 6.0.1 Describe the bug On iOS TabStripItem font icon doesn't get the element's classes. To Reproduce Use the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MartoYankov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25ef7e923c492d9047af899b2ba66bfcb0a78059369630f2ce2cf57826ed6a53 |
| 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 | c0badd0db61d89a34653af2d762b2eb8c84f9d59 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width