d3b0eccfe8
The resize handler was mixing rem and pixel units without proper conversion, causing widgets to fly wildly off screen with small mouse movements. Root cause: - rowHeight and gap were stored as rem values (e.g., 5 rem, 0.75 rem) - Delta calculations divided pixel movements by rem values directly - This caused ~14x excessive sensitivity Fix: - Add remToPixels() conversions for gap and rowHeight before calculations - Use pixel values (gapPx, rowHeightPx) in all delta-to-grid-unit conversions - Matches the correct pattern used in drag handler and gridEngine.snapToCell() Example: - Before: 20px movement / 5 rem = 3.48 grid units (way too much!) - After: 20px movement / 80px = 0.22 grid units (smooth and predictable) Fixes both desktop and mobile resize sensitivity issues. File: src/systems/dashboard/resizeHandler.js Lines: 333-343 (updateResizeSize method)