web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : xi2LaqMh+8LQN9bMfoFuO2
Power Apps - Building Power Apps
Answered

Flickering when animating movement/fade

Like (0) ShareShare
ReportReport
Posted on 14 Aug 2023 14:03:26 by 364

Hi all,

 

Can anyone shed light on why, occasionally, animations (movement or fading) will flicker , and why sometimes they don't. For example, I have a rectangle that I want to fade in and out. This is the fill code:

 

Switch(true,
 fade,
 RGBA(56, 96, 178, 0 + (MenuTimer.Value/MenuTimer.Duration)),
 !fade,
 RGBA(56, 96, 178, 1 - (MenuTimer.Value/MenuTimer.Duration)))

 

I have a button to make it fade in and fade out. This is the code for them:

True

Reset(MenuTimer_1);
Set(StartTimer, false);
Set(fade, true);
Set(StartTimer, true);

 

False

Reset(MenuTimer_1);
Set(StartTimer, false);
Set(fade, false);
Set(StartTimer, true);

 

And it ends up doing this:

 

Presentation5.gif

I've had that flickering happen before when animating movement as well, and, sometimes, it doesn't do it at all. Like the below, where the buttons are set up pretty much the same, except I'm moving instead of fading:

 

Presentation4.gif

or here:

Presentation1.gif

I can only assume that in the instances where it isn't working, it's because it's not "saving" the end position of moving / fading in, so violently resets when I ask it to do the second part of the animation. Any ideas?

  • cardinalnight Profile Picture
    204 on 11 Mar 2024 at 11:06:47
    Re: Flickering when animating movement/fade

    I'm still getting flicker when using a timer on the same screen!

    FlickerPowerApps.gif

    Same code as OP's but timer on the same screen.

  • Verified answer
    EpicTriffid Profile Picture
    364 on 14 Aug 2023 at 14:14:15
    Re: Flickering when animating movement/fade

    I both love you and hate myself...

    Sigh, well, now we know that a timer on a different screen will make it flicker!

  • Verified answer
    TheRobRush Profile Picture
    11,121 Moderator on 14 Aug 2023 at 14:11:59
    Re: Flickering when animating movement/fade

    Just to get the too obvious answer out of the way, is it intentional that buttons refer to menutimer_1 and the fill refers to menutimer?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473