Skip to content

v1.22.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 19:17
· 9 commits to main since this release
Fix dragged-from-drawer icons vanishing when dropped on a widget

computeTarget() returned a null DropTarget whenever the drop point landed
on a cell occupied by a multi-span widget (anything but an exact 1x1 app/
folder), and drop() silently does nothing for a null target. Since a
drawer-sourced item has no "fall back" position to return to, the icon
was simply lost with no feedback - which is what most home screens with
a widget on them will hit on nearly every drag out of the drawer.

Redirect that case to a push target instead: insertPushing() already
skips over multi-span occupants when walking cells, so the icon now
lands on the next free cell beyond the widget instead of disappearing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KanGnvgaQn2Pg84pfu3TUM