Title: Background color applied twice in labels with ``s · Issue #7379 · NativeScript/NativeScript · GitHub
Open Graph Title: Background color applied twice in labels with ``s · Issue #7379 · NativeScript/NativeScript
X Title: Background color applied twice in labels with ``s · Issue #7379 · NativeScript/NativeScript
Description: Environment Irrelevant. Occurs both on Android and iOS. Replicable in the playground. Describe the bug When applying a background to a label with a formatted string, the background is re-applied in the inner s. This is a problem wh...
Open Graph Description: Environment Irrelevant. Occurs both on Android and iOS. Replicable in the playground. Describe the bug When applying a background to a label with a formatted string, the background is re-applied in...
X Description: Environment Irrelevant. Occurs both on Android and iOS. Replicable in the playground. Describe the bug When applying a background to a label with a formatted string, the background is re-applied in...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7379
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Background color applied twice in labels with `\u003cspan\u003e`s","articleBody":"**Environment**\r\nIrrelevant. Occurs both on Android and iOS. Replicable in the playground.\r\n\r\n**Describe the bug**\r\nWhen applying a background to a label with a formatted string, the background is re-applied in the inner `\u003cspan\u003e`s. This is a problem when we have a semi-transparent background, as you can see here:\r\n\r\n\r\n\r\n\r\n**To Reproduce**\r\nRun the sample here: https://play.nativescript.org/?template=play-vue\u0026id=x0j7SP\r\n\r\n**Expected behavior**\r\nThe background should only be applied to the label, and not in the inner span again.\r\n\r\n**Sample project**\r\nhttps://play.nativescript.org/?template=play-vue\u0026id=x0j7SP\u0026v=2\r\n\r\n**Additional context**\r\n\u003c!-- Add any other context about the problem here. --\u003e\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/75804137-background-color-applied-twice-in-labels-with-span-s?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/tralves","@type":"Person","name":"tralves"},"datePublished":"2019-06-20T11:59:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7379/NativeScript/issues/7379"}
| 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:54d91e69-49cf-c464-3db4-94032f5f0539 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9606:6670:8ED70B:B98DA0:6A600614 |
| html-safe-nonce | 826c1568ecefd882c6cc58ae3b1eb2e6914a0f1ba99731288d1448c9a7d14c73 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjA2OjY2NzA6OEVENzBCOkI5OERBMDo2QTYwMDYxNCIsInZpc2l0b3JfaWQiOiI0NDUwMzg4NjUxMTQyMDM2NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dfecafa528369997ae5605fa775d911a4576d7c6b1a5fdd7eeaf84e807b6f554 |
| hovercard-subject-tag | issue:458614833 |
| 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/7379/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3442b82795b9a180e48305351fa8f8065eea7d09743b8c799ff7617aad7a486c/NativeScript/NativeScript/issues/7379 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3442b82795b9a180e48305351fa8f8065eea7d09743b8c799ff7617aad7a486c/NativeScript/NativeScript/issues/7379 |
| og:image:alt | Environment Irrelevant. Occurs both on Android and iOS. Replicable in the playground. Describe the bug When applying a background to a label with a formatted string, the background is re-applied in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tralves |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5789899e92b20db289de946d86eb20bf5c9626276695d68f58a8c47cdda699b7 |
| 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 | 6ddc048ddf80664b9b33547b619db10313c482f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width