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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / 'Auto Pause' property ...
Power Apps
Unanswered

'Auto Pause' property on Timer control not working on live version - New Form

(1) ShareShare
ReportReport
Posted on by 232

Hi All,

 

I have a Refresh(Data Source) function attached to the 'On Timer End' property of a Timer Control.

The Timer itself sits on my Gallery Screen.

I also have the 'Auto Pause' property of the Timer Control set to 'true'.

According to the documentation, setting auto pause to 'true' should pause the timer when a user navigates to a new screen.

 

I also have a 'Create New' button which creates a new form and navigates to the Form Screen.

 

While I am editing and testing (previewing) my app the 'Auto Pause' function works as you would expect. The timer pauses and the Data Source won't refresh when I navigate to the Form Screen.

 

Once I publish and the run the app, however, this 'Auto Pause' function appears to stop working, the timer will continue, and will refresh the data source while users are filling out a form.

 

This is causing a problem as I have a 'Multi line' Text field in my form, and while users are editing the multi line text field, the cursor will jump to the bottom of the field, even if they have the cursor placed in the middle of a sentence when the Data Source is refreshed at the Timer's end.

Categories:
I have the same question (0)
  • JayMagness Profile Picture
    1,663 on at

    HI,

     

    Look and make sure the Timer Control is located in the proper structure..

     

    Either Screen, Canvas, Form, etc....

     

    Jay

  • silvadev-cdba Profile Picture
    8 on at

    I'm facing the same issue... 

     

    The only thing mytimer does is to navigate to Home, but then the user can't leave Home as it will redirects again to Home over and over.

     

    silvadev-cdba_0-1597057282843.png

     

  • rebeccas Profile Picture
    2,591 on at

    @silvadev-cdba 

     

    For yours it sounds like you have it doing an AutoStart = true. Instead tell it when you want it started. So the screen you do want it started on you can have the OnVisible: Set(varTimerStart, false);Set(varTimerStart,true) and then the timer OnStart is varTimerStart.

     

    This will give you control on when you want it to start and when you don't.

  • silvadev-cdba Profile Picture
    8 on at

    Hi @rebeccas,

    Yeah, I solved my issue doing something similar to what you've suggested. But it is weird that it only happens on LIVE published version, isn't? 

     

    I can't reproduce the issue using "debug/preview/play" mode. Or even monitoring (using Monitor tool) attached to Live/published version it works fine. It auto pauses as it should when navigating to another screen.

     

    Thanks in advance.

  • rebeccas Profile Picture
    2,591 on at

    @silvadev-cdba 

     

    I find the timers have a lot of "odd" behavior in general. I don't depend on any of the settings that are built into it. Like the Reset=true...often does not work so I force it. I find a lot of uses for the timers but I find the settings that are built in with it are very inconsistent so I typically don't rely on them. 

     

    Your issue is odd...more often I find stuff that works in Play mode and not in Edit but occasionally I do see some work the way yours did....or should I say "not work"...lol. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard