Repository navigation
Commit c719481
fix(android): a screen leaving with animation none disappears at once
`none` keeps the leaving screen for a 20ms no-op tween so the transition
events still fire, and Android draws a leaving view above the entering
one until its tween ends. For a frame or two the old screen covered the
new one: on push, the previous screen over the new page, and on pop, the
popped screen over the one returning.
ScreenStack now draws such screens through an empty clip while a `none`
transition is in effect. They are still drawn, so the tween advances and
the transition finishes as before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 3c7c3b1 commit c719481
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
256 | 260 | | |
257 | 261 | | |
258 | 262 | | |
| 263 | + | |
259 | 264 | | |
260 | 265 | | |
261 | 266 | | |
| |||
420 | 425 | | |
421 | 426 | | |
422 | 427 | | |
423 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
424 | 438 | | |
425 | 439 | | |
426 | 440 | | |
| |||
0 commit comments