Title: [iOS][BottomNavigation] Images are not vertically centered · Issue #7991 · NativeScript/NativeScript · GitHub
Open Graph Title: [iOS][BottomNavigation] Images are not vertically centered · Issue #7991 · NativeScript/NativeScript
X Title: [iOS][BottomNavigation] Images are not vertically centered · Issue #7991 · NativeScript/NativeScript
Description: Environment CLI: 6.1.2 Android Runtime: 6.1.1 iOS Runtime: 6.1.1 Describe the bug On iOS the Images within the TabStrip are not vertically centered within a BottomNavigation. On Android they are perfectly centered. Here is a screenshot f...
Open Graph Description: Environment CLI: 6.1.2 Android Runtime: 6.1.1 iOS Runtime: 6.1.1 Describe the bug On iOS the Images within the TabStrip are not vertically centered within a BottomNavigation. On Android they are pe...
X Description: Environment CLI: 6.1.2 Android Runtime: 6.1.1 iOS Runtime: 6.1.1 Describe the bug On iOS the Images within the TabStrip are not vertically centered within a BottomNavigation. On Android they are pe...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7991
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[iOS][BottomNavigation] Images are not vertically centered","articleBody":"**Environment**\r\n\r\n - CLI: 6.1.2\r\n - Android Runtime: 6.1.1\r\n - iOS Runtime: 6.1.1\r\n\r\n**Describe the bug**\r\nOn iOS the Images within the TabStrip are not vertically centered within a BottomNavigation. On Android they are perfectly centered. \r\nHere is a screenshot from two running iphone Simulators, where you should be able to see the issue. \r\n\r\n\r\n\r\n**To Reproduce**\r\n```\r\n\u003cTabStrip #mainNavigationStrip isIconSizeFixed=\"false\" iosIconRenderingMode=\"alwaysOriginal\"\u003e\r\n \u003cTabStripItem class=\"nav-icon\" [class.ios]=\"isIOS()\" [class.selected]=\"selectedTab === 0\"\u003e\r\n \u003cImage src=\"font://\u0026#xf25d;\" class=\"fas\"\u003e\u003c/Image\u003e\r\n \u003c/TabStripItem\u003e\r\n \u003cTabStripItem class=\"nav-icon\" [class.ios]=\"isIOS()\" [class.selected]=\"selectedTab === 1\"\u003e\r\n \u003cImage src=\"font://\u0026#xf375;\" class=\"fas\"\u003e\u003c/Image\u003e\r\n \u003c/TabStripItem\u003e\r\n \u003cTabStripItem class=\"nav-icon\" [class.ios]=\"isIOS()\" [class.selected]=\"selectedTab === 2\"\u003e\r\n \u003cImage src=\"font://\u0026#xf100;\" class=\"fas\"\u003e\u003c/Image\u003e\r\n \u003c/TabStripItem\u003e\r\n \u003cTabStripItem class=\"nav-icon\" [class.ios]=\"isIOS()\" [class.selected]=\"selectedTab === 3\"\u003e\r\n \u003cImage src=\"font://\u0026#xf153;\" class=\"fas\"\u003e\u003c/Image\u003e\r\n \u003c/TabStripItem\u003e\r\n \u003cTabStripItem class=\"nav-icon\" [class.ios]=\"isIOS()\" [class.selected]=\"selectedTab === 4\"\u003e\r\n \u003cImage src=\"font://\u0026#xf345;\" class=\"fas\"\u003e\u003c/Image\u003e\r\n \u003c/TabStripItem\u003e\r\n \r\n \u003c/TabStrip\u003e\r\n````\r\n\r\n**Expected behavior**\r\n\r\nThe Images (using Ionicons) should be centered vertically. Styling on Image, TabStripItem or Tabstrip is not working (not applied at all). \r\n\r\n","author":{"url":"https://github.com/flodaniel","@type":"Person","name":"flodaniel"},"datePublished":"2019-10-21T13:54:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/7991/NativeScript/issues/7991"}
| 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:09a2eb85-a665-5e5d-667a-bfcd99fe88d6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C5A8:23D54C:6CC6C7:91420E:697311CF |
| html-safe-nonce | 7076b1424557ba87cf54668b2cbbea61b29cf85ca70f0a20b8c7d9b6005564a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUE4OjIzRDU0Qzo2Q0M2Qzc6OTE0MjBFOjY5NzMxMUNGIiwidmlzaXRvcl9pZCI6IjgzMTExNjkwNjcxMTI0MDM0MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bd5a49594dc3458125ab80ae892c7b4604aa03e8d20368c1ff470c46cd6a7dfb |
| hovercard-subject-tag | issue:509979594 |
| 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/7991/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53fce2f8a734834a379186afc91e9d1c75d3aa0d245b3cbe9aae0118d7685407/NativeScript/NativeScript/issues/7991 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53fce2f8a734834a379186afc91e9d1c75d3aa0d245b3cbe9aae0118d7685407/NativeScript/NativeScript/issues/7991 |
| og:image:alt | Environment CLI: 6.1.2 Android Runtime: 6.1.1 iOS Runtime: 6.1.1 Describe the bug On iOS the Images within the TabStrip are not vertically centered within a BottomNavigation. On Android they are pe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | flodaniel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| 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 | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width