Title: [BottomNav][iOS] Changing tabs programatically messes up styles · Issue #7667 · NativeScript/NativeScript · GitHub
Open Graph Title: [BottomNav][iOS] Changing tabs programatically messes up styles · Issue #7667 · NativeScript/NativeScript
X Title: [BottomNav][iOS] Changing tabs programatically messes up styles · Issue #7667 · 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: 6.0.0 Cross-platform modules: 6.0.0 Android...
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: 6.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: 6.0...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/7667
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BottomNav][iOS] Changing tabs programatically messes up styles","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: 6.0.0\r\n - Cross-platform modules: 6.0.0\r\n - Android Runtime: 6.0.0\r\n - iOS Runtime: 6.0.0\r\n - Plugin(s):\r\n\r\n**Describe the bug**\r\nWhen you change the `selectedIndex` programatically the tab actually changes but the styles are not applied, so visually the old tab remains selected and the new one looks like unselected. Works as expected on android. \r\n\r\n**To Reproduce**\r\nhttps://play.nativescript.org/?template=play-tsc\u0026id=ill2KK \r\ntap on button in the action bar\r\n\r\n**Expected behavior**\r\nStyles to be applied correctly. \r\n\r\n**Sample project**\r\n\u003c!-- If possible, provide a link from the [Playground](https://play.nativescript.org) with reproduction of the problem. If not, consider attaching a sample project or link to a repository with such project. --\u003e\r\n\r\n**Additional context**\r\n\u003c!-- Add any other context about the problem here. --\u003e\r\nRelated to #6967 \r\n","author":{"url":"https://github.com/PeterStaev","@type":"Person","name":"PeterStaev"},"datePublished":"2019-08-09T13:10:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7667/NativeScript/issues/7667"}
| 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:b4bd6937-5107-929c-5860-b494a5b0ed20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D80C:11F8A0:42E2BAD:5B08161:6972F247 |
| html-safe-nonce | e2150332f2ba9bd9b9fa021e0f8385c25ce50b9a5db794e9b1e902e5e42ce051 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODBDOjExRjhBMDo0MkUyQkFEOjVCMDgxNjE6Njk3MkYyNDciLCJ2aXNpdG9yX2lkIjoiNDYxOTc0Njk4MjMyMTM4NjA1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 021e7d4ec7a79b9073f249e72cf041cbb9955e0149255bec31298bd089514f8e |
| hovercard-subject-tag | issue:478979187 |
| 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/7667/issue_layout |
| twitter:image | https://opengraph.githubassets.com/06f28102a81c21ec7e7da5254843ee3bd2b694fcab66f745cbdbe653cb98b43a/NativeScript/NativeScript/issues/7667 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/06f28102a81c21ec7e7da5254843ee3bd2b694fcab66f745cbdbe653cb98b43a/NativeScript/NativeScript/issues/7667 |
| 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: 6.0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PeterStaev |
| 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