question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Page is flickering if the ion-content is set with background image

See original GitHub issue

Bug Report

Ionic version: 4.0.0

Current behavior: If a page has background image set to ion-content, then while navigating to that page is flickering.

Expected behavior: Flickering should not happen.

Steps to reproduce: Create a page with ion-content set with background-image like below -

ion-content { --background: url('./../../../assets/images/ica-slidebox-img-1.png') no-repeat 50% 10%; }

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.9.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.12.1
   @angular-devkit/schematics    : 7.2.1
   @angular/cli                  : 7.2.3
   @ionic/angular-toolkit        : 1.2.1

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 8 other plugins)

System:

   ios-deploy : 1.9.4
   ios-sim    : 7.0.0
   NodeJS     : v10.15.0 (/usr/local/bin/node)
   npm        : 6.5.0
   OS         : macOS Mojave
   Xcode      : Xcode 10.1 Build version 10B61

NOTE: We have tried with 4.0.1 release as well and it’s the same!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:30 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
liamdebeasicommented, Mar 12, 2019
1reaction
EnzoDLPcommented, Apr 20, 2019

Any update on this issue ? I have the same problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ion-content background image flashing on newer iphones
Now it causes a fullscreen white flashing of the background when the ... Page is flickering if the ion-content is set with background...
Read more >
Background image flickering with user interaction on iOS ...
After giving up on the ionViewWillEnter feature/bug problem I came up with a workaround. Instead of using .ion-content {--background.
Read more >
Background image flickering with user interaction on iOS ...
I was getting the flickering background image problem on iOS for any page ... and <ion-content> in Ionic and it works in the...
Read more >
Ionic 5 - Change Style Of .Range-Slider In Ionrange Which Is Under ...
Current behavior: If a page has background image set to ioncontent then while navigating to that page is flickering. Scroll all the way...
Read more >
5 Examples of the new Ionic 6 Bottom Sheet Modal
Get the details on how to use the brand new Ionic Bottom Sheet component ... of the modal, and to get the bottom...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found