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.

Ripple effect flickers multiple times on emulator/device

See original GitHub issue

Bug Report

Ionic version:

[x] 4.0.2

Current behavior:

When tapping an ion-item that links to another route the built in ion-ripple-effect flickers twice or sometimes not at all and is not a complete smooth animation. It’s hard to explain but as of right now I only experience this bug when running my app in an emulator or on my device. Browser works just fine.

Expected behavior:

Ripple effect fires once and completely without any flickering.

Steps to reproduce:

  1. Create an ionic app,
  2. Set the mode to ‘md’ IonicModule.forRoot({ mode: ‘md’ })
  3. Create an ion-list and a single ion-item that has a routerLink which routes to another page.
  4. Run the app on a device or an emulator.
  5. Click the ion-item

ripple-effect-bug

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.10.3 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.2
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.3.1
   @angular/cli                  : 7.3.1
   @ionic/angular-toolkit        : 1.3.0

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.1.4, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.5, (and 15 other plugins)

System:

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
liamdebeasicommented, Mar 8, 2019

Thanks! I was able to reproduce this issue. We will look into it!

2reactions
kyleabenscommented, Mar 21, 2019

Thanks! I was able to reproduce this issue. We will look into it!

@liamdebeasi I don’t know if this helps narrow down the issue but I’ve noticed that any element that uses the ripple effect AND generates a component in the html when clicked (pages, segments etc.) will flicker. If you’re using ion-segment and you hide and show the content there is no flicker but if you use *ngIf or *ngSwitchCase on the content then the flicker occurs.

Sent with GitHawk

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ripple effect flickers multiple times on emulator/device #17699
Browser works just fine. Expected behavior: Ripple effect fires once and completely without any flickering. ... Create an ion-list and a single ...
Read more >
Android Studio Avd emulator shows a black flickering
I just installed Android Studio first time for a while and noticed the flickering problem right away. I have NVIDIA GPU ...
Read more >
How to Fix Screen Flickering/Tearing while Playing Games
Fix Display Screen Flickering, Tearing or Flashing While Playing Games #ScreenFlickering #Games #DisplayTearing Facebook ...
Read more >
Toolbar ripple effect stop working after scroll [37049866]
After using the CoordinateLayout + AppBar layout with parallex effect, if we scroll down then up the ripple effect on the pressed state...
Read more >
Are there any examples of Game Boy games/levels ... - Reddit
In this game to create a transparent water effect they quickly flash between a white frame and a water frame, which due to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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