nativescript-community / ui-material-components

Monorepo that contains all of the NativeScript Material Design plugins.
https://nativescript-community.github.io/ui-material-components/
Apache License 2.0
219 stars 80 forks source link

Android only: Background transparency broken after back navigation #355

Closed cjohn001 closed 2 years ago

cjohn001 commented 2 years ago

Hello together, I am using ui-material-tabs. My tabs background is semitransparent to allow for the background image to shine through. See attached images. When I navigate away from the tabs page and navigate back to it, the material tabs loose the background transparency (background is white). Version 6.2.11 of @nativescript-community/ui-material-tabs is working fine. With version 6.2.12 and 6.2.13 I am observing the issue.

Bildschirmfoto 2022-02-11 um 17 13 04 Bildschirmfoto 2022-02-11 um 17 28 05

Which platform(s) does your issue occur on?

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

cjohn001 commented 2 years ago

I was able to solve the issue. In the past I had not to set MDTabs { background-color: transparent; }

It was sufficient to have MDTabContentItem { background-color: transparent; }

Since 6.2.12 now both have to be set.