ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Bug: Clicking outside due date picker (Add Task) makes page unresponsive

Open ShivaGupta-14 opened this issue 11 months ago • 1 comments

Describe the bug When adding a task, if you open the date picker (calendar popover) to select a due date and then close it by clicking outside, the entire page becomes unresponsive. Clicks on any element (buttons, inputs, etc.) no longer work, effectively "freezing" the UI until the page is refreshed.

To Reproduce Steps to reproduce the behavior:

  1. Go to http://localhost:5173/home
  2. Click "Add Task" button to open the Add Task dialog
  3. Click on the "Due" date picker button to open the calendar popover
  4. Click anywhere outside to close it
  5. Try to click on any element.
  6. See that no clicks are registering, page becomes unresponsive

Expected behavior When the date picker calendar is closed by clicking outside, the page should remain fully interactive. All buttons, inputs, and other elements should continue to respond to clicks normally.

Video

https://github.com/user-attachments/assets/e936caff-c9b6-42af-a196-01421af71da8

Desktop (please complete the following information):

  • OS: macOS

  • Browser: Chrome

  • Version: Latest

  • [X] I want to work on this issue.

ShivaGupta-14 avatar Dec 14 '25 19:12 ShivaGupta-14

hey @its-me-abhishek ,

I am working on adding the Start field to the task panel, but I found an issue in date-picker which blocking me from testing the feature properly.

PR #280 removed the modal prop from the Popover component in date-picker.tsx. This change broke the date picker functionality. When I click on dates in the calendar, nothing happens and the date is not selected.

The date picker was working before this PR was merged. The issue is that without modal={true}, the Popover creates a focus trap conflict that prevents the calendar from responding to clicks.

Can you please revert PR #280 or reopen issue #279 so we can fix the date picker properly? Thanks

Hell1213 avatar Dec 19 '25 11:12 Hell1213