Release: merge dev into main #22
Loading…
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Merge
devintomainto publish the next release. This PR is opened and refreshed automatically on every push todev.Changes since v1.0.1
fba2d4e)Vi:trailer on commits [skip ci] (c97b3ba)8bc189c)fd959f6)Release notes
dev.Releaseworkflow, which bumps the patch version. For minor/major, put[skip release]in the merge commit title and run Actions > Release > Run workflow onmainwith the bump you want.## Problem On the Home screen, pressing Down from a card in "Suggested for you" often moved focus to the next card in the same row instead of into Favorites / Recent, so it took several presses to get down. ## Cause `Focusable` lifted the focused card 2dp with `graphicsLayer { translationY }`. That transform also moves the card's focus bounds, so its row neighbours sit 2dp lower and count as "below" it in Compose's 2D focus search. Depending on horizontal distance, a neighbour could beat the card in the next row. ## Fix Draw the lift with `drawWithContent { translate(...) }` instead. It looks the same, but layout and focus bounds stay where they are. ## Testing - Reproduced on the Android TV emulator: repeated Down presses moved focus back and forth between two cards in the Suggested row. - After the fix, Down moves from Suggested to Favorites in one press (checked from two positions in the row). Co-authored-by: nezumi <123229563+Nezumi-2711@users.noreply.github.com> Reviewed-on: #20Vi:trailer on commits [skip ci] c97b3ba30a