Code_S
Code_S

Reputation: 304

ionic framework on transition of page or navigation displaying black screen

I have been stuck on problem related to the ionic framework in which , whenever I click on slide menu then befor page slide, dark black color occurring like black box in iPhone and iPad, and same it is happing each and every click of slide or transition or navigation.

So any body has solution regarding that please let me know.

Thanks Shivam

Upvotes: 4

Views: 1876

Answers (2)

Brandon
Brandon

Reputation: 119

In case useful for anyone today using Ionic 8.0.0 (default version used in the official starter as of Sep 2024) and running into this problem, just update to the latest version (8.3.1 as of today).

Upvotes: 0

Arun Gopalpuri
Arun Gopalpuri

Reputation: 2473

Add transparency to background between view transition:

[nav-view-transition][nav-view-direction] { background-color: transparent; }

I added the above css to my custom styles.css.

Also, remove any abstract states and this should fix your black screen issue between navigation(s).

Upvotes: 3

Related Questions