Skip to content

fix: prevents default home page laggy scroll animation#870

Merged
MarkisDev merged 3 commits intoCCExtractor:mainfrom
devxdebanjan:home-refresh-fix
Apr 19, 2026
Merged

fix: prevents default home page laggy scroll animation#870
MarkisDev merged 3 commits intoCCExtractor:mainfrom
devxdebanjan:home-refresh-fix

Conversation

@devxdebanjan
Copy link
Copy Markdown
Contributor

@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

@MarkisDev MarkisDev merged commit c7db8c4 into CCExtractor:main Apr 19, 2026
1 check passed
NihalDR pushed a commit to NihalDR/ultimate_alarm_clock that referenced this pull request Apr 20, 2026
* fix: Stopped the laggy UI animation everytime the app is rebuilt

* fix: Used confirmDismiss instead of ondismissed which prevents unnecessary rebuilds and error

* fix: prevents default animation for when multipleSelected mode is true
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

2 participants