Files
twenty/packages/twenty-front
nitin 78f8562457 fix: prevent drag selection from blocking input focus (#12322)
closes #12309
Fixes input elements becoming unusable due to drag selection preventing
default browser behavior.

**Problem:**
- Input elements couldn't receive focus because `event.preventDefault()`
was called unconditionally
- Removing `preventDefault()` broke click-outside-to-deselect
functionality

**Solution:**
- Only call `preventDefault()` when actually starting drag selection
- Preserves input focus while maintaining drag selection and deselection
behavior

**Changes:**
- Move `event.preventDefault()` inside the `shouldStartSelecting`
condition
- Update test to reflect correct behavior for disabled elements
2025-05-27 14:51:48 +02:00
..
2025-04-09 17:35:25 +02:00
2025-04-17 16:03:51 +02:00
2025-04-17 16:03:51 +02:00
2025-05-22 15:07:01 +02:00
2025-05-22 15:07:01 +02:00

Run yarn dev while server running on port 3000