ui-material-components: MDTabContentItem not rendering after changing android theme

Which platform(s) does your issue occur on?

  • Android 11
  • emulator or device? Both

Please, provide the following version numbers that your issue occurs with:

  • CLI: 8.0.2-next-08-13-2021-1128363962
  • Runtime(s): 8.0.0
  • Plugin(s): @nativescript-community/ui-material-bottom-navigation": "^5.3.11

Please, tell us how to recreate the issue in as much detail as possible.

Changing the OS theme while the app is running causes the MDTabContentItem to stop rendering until the current tab is changed.

The issue possibly lies in this piece of code since the fragment is found by name/tag, so it is not null, but it’s not a valid fragment:

https://github.com/nativescript-community/ui-material-components/blob/master/src/bottom-navigation/index.android.ts#L525-L545

Is there any code involved?

  • nope

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 4
  • Comments: 16 (14 by maintainers)

Most upvoted comments

I believe so! you can close this

Just use a CSS rule:

Frame {
   background-color: blue;
}

@mukaschultze dont use the alpha.use latest it has the fix