Files
twenty/packages/twenty-front/src/modules
Mohammed Abdul Razak Wahab 91b7d2855e Fix: Ensure First Click on Spreadsheet Import 'Select File' Button Triggers File picker (#10205)
Fixes #10154 

### What was happening:
1. Click "Import" in dropdown -> Dropdown stays open
2. Click "Select file" button -> Two events occur:
   - Button tries to open file dialog
   - Click event bubbles up, reaches dropdown, dropdown tries to close
3. These competing actions cause the first click to fail

### Fix
By closing the dropdown immediately when clicking "Import":

No competing event handlers are active
The dropdown is fully closed before any file selector interactions
The open() function from useDropzone can work without interference
2025-02-17 14:28:28 +01:00
..
2025-01-19 13:29:19 +01:00
2025-02-13 00:52:04 +01:00
2025-02-04 14:20:35 +00:00
2025-02-17 11:02:17 +00:00
2025-02-14 17:37:34 +00:00