Skip to content

Keep navigation drawing stable as slides settle - #2152

Merged
anilbeesetti merged 1 commit into
mainfrom
fix/issue-2149
Nov 28, 2026
Merged

anilbeesetti merged 1 commit into
mainfrom
fix/issue-2149

Conversation

@anilbeesetti

Copy link
Copy Markdown
Owner

Summary

Opening Appearance or About can briefly show the dimmed Settings screen through the destination. The shared transition now draws the scrim and rounded corners through one modifier that stays in place as the slide settles.

- Install a clipping layer for the destination during the slide
+ Clip the destination with a cached path in the existing draw modifier

Refs #2149.

Evidence

  • The issue includes screenshots of the flash. The baseline build showed normal slides on the Android 15 (API 35) V660p_like emulator.
  • Recorded Settings → Appearance → Settings → About on the same emulator with the patch. Both destinations opened and the recordings showed no flash.
  • ./gradlew assembleDebug test ktlintCheck passed on JDK 17.
  • Both MainActivityNavigationTest instrumentation tests passed. Confirmation on the affected device is pending.

Merge risk

Reverting the commit restores the previous drawing behavior. The change applies to shared push and pop transitions.

Created with GPT-6.2 Sol in Codex.

Draw the rounded clip and scrim through one modifier so the destination does not lose its clipping layer while Settings slides out. Addresses #2149.
@anilbeesetti
anilbeesetti merged commit 540855a into main Nov 28, 2026
2 checks passed
SeveriT pushed a commit to SeveriT/Overtime-Android that referenced this pull request Dec 2, 2026
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.

1 participant