You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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