Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Setting ion-list background to trasparent causes the default background color to quickly flash first

$
0
0

@wojo1086 wrote:

I’m trying to set the background of an ion-list to be transparent. This list is in an ion-modal. The issue I’m facing is the CSS to make the background transparent doesn’t seem to be going into effect right away, which causes a quick flash of white as the default light color of the ion-list is loaded first.

Here is the SASS:

ion-list, ion-item
        --ion-background-color: rgba(0,0,0,0)

Is there a way to stop the flash of white from happening before the transparency takes effect?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>