A developer from Makeswift shares insights from a project focused on improving their file manager with drag selection. They detail challenges faced, specifically with state management, and present a solution using vectors to simplify the drag selection process. The final implementation addresses various edge cases and enhances

12m read timeFrom joshuawootonn.com
Post cover image
Table of contents
Basic markupDrawing the selection boxUsing a VectorIntersection StateDrag and drop polishAdding deselectionScrollingPreventing scroll overflowAuto scrollingLinks
14 Comments

Sort: