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
Table of contents
Basic markupDrawing the selection boxUsing a VectorIntersection StateDrag and drop polishAdding deselectionScrollingPreventing scroll overflowAuto scrollingLinks14 Comments
Sort: