Skip to content

fix: prevents default home page laggy scroll animation#870

Open
devxdebanjan wants to merge 3 commits intoCCExtractor:mainfrom
devxdebanjan:home-refresh-fix
Open

fix: prevents default home page laggy scroll animation#870
devxdebanjan wants to merge 3 commits intoCCExtractor:mainfrom
devxdebanjan:home-refresh-fix

Conversation

@devxdebanjan
Copy link

@devxdebanjan devxdebanjan commented Mar 10, 2026

Description

This PR fixes the default UI animation where the screen appears to contract on its own every time page is switched from Timer or Stopwatch to Home.

While testing it however I found another bug.

There is another problem which appears: the alarm swipe delete feature builds the whole alarm home page from scratch whenever the alarm is swiped to delete it. This is due to using onDismissed and using GetOffUntil rather than only confirmDismiss for the confirmation dialog box. Because merging the UI animation fix without the SwipeDelete fix would break things, both fixes are added together. But both of them are in complete different commits.

This is what could occur if the Confirmation Dialog Box issue was not fixed along with the Scroll Animation Issue:

issuevid2compressed.mp4

Proposed Changes

  • On every rebuild of the Home Page, the Scaling Factor starts as a default 1.0 rather than any previously stored value which caused the animation.
  • Collpased height matches the Expanded Height at the start of the widget.
  • The confimation dialog box uses confirmDismiss instead of using onDismissed and forcing Get to rebuild the entire widget.

Fixes #869

Screenshots

issue1fix.mp4

Checklist

  • Tests have been added or updated to cover the changes
  • Documentation has been updated to reflect the changes
  • Code follows the established coding style guidelines
  • All tests are passing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Everytime I tap on Alarm, a slow and laggy animation is occuring

1 participant