Title: [ActionBar] Background is not being applied on iOS · Issue #9338 · NativeScript/NativeScript · GitHub
Open Graph Title: [ActionBar] Background is not being applied on iOS · Issue #9338 · NativeScript/NativeScript
X Title: [ActionBar] Background is not being applied on iOS · Issue #9338 · NativeScript/NativeScript
Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 8.0.1 Cross-platform modules: Android Runti...
Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 8.0...
X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 8.0...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/9338
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ActionBar] Background is not being applied on iOS","articleBody":"**Environment**\r\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):\r\n - CLI: 8.0.1\r\n - Cross-platform modules:\r\n - Android Runtime:\r\n - iOS Runtime:\r\n - XCode Version:\r\n - Plugin(s):\r\n\r\n**Describe the bug**\r\n`background` attribute set in css on `ActionBar` is being applied normally on Android, but not on iOS.\r\n```css\r\nActionBar {\r\n\tbackground: linear-gradient(180deg, rgba(0, 115, 150, 0.85) 0%, rgba(25, 160, 172, 0.85) 100%);\r\n\tcolor: white;\r\n\tpadding: 0;\r\n}\r\n```\r\nAndroid screenshot:\r\n\r\n\r\niOS screenshot:\r\n\u003cimg width=\"332\" alt=\"截屏2021-04-16 下午4 45 46\" src=\"https://user-images.githubusercontent.com/53802606/115001275-1821f280-9ed6-11eb-9280-3848ffc69ab3.png\"\u003e\r\n\r\nThe ActionBar is still there on iOS and I am able to alter the background color with `background-color: black;`, but I need to set the background color with a gradient color value and only `background` attribute supports gradient color.\r\n\r\n","author":{"url":"https://github.com/LouieTian0209","@type":"Person","name":"LouieTian0209"},"datePublished":"2021-04-16T09:12:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/9338/NativeScript/issues/9338"}
| 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:047bbb6b-61d6-b83e-0e2c-c447bc7395d4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C406:3E413F:22AE601:2E4335A:6A5BDDE7 |
| html-safe-nonce | 34d3905ff3db885b7da2f37f2cf8180a39391c49033cf93c297e754c6559ffa4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDA2OjNFNDEzRjoyMkFFNjAxOjJFNDMzNUE6NkE1QkRERTciLCJ2aXNpdG9yX2lkIjoiODc5NTkwOTcxOTA4MzE3OTQ5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5829a77cb5b8ebb8d73edaaa506415d467c1c48050d6b8ad63fb4804c1a4d230 |
| hovercard-subject-tag | issue:859628149 |
| 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/9338/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a7b58da5682460fa92519229e18785463455bb677e31160cf97986874d0f0f6/NativeScript/NativeScript/issues/9338 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a7b58da5682460fa92519229e18785463455bb677e31160cf97986874d0f0f6/NativeScript/NativeScript/issues/9338 |
| og:image:alt | Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 8.0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LouieTian0209 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width