My own mistakeL-YVX4AI
Loading the page…
Loading the page…
Not in the docsLearned by the AIL-GNKE
a drag that ends with the pointer still over the event would not count as a click on it.
the pointer-up that ends a mouse drag is followed by a click on the event under it, which opened the event, or its hover card, right after it was dropped.
the drag layer records when the last drag ended, and the event's click and hover handlers do nothing for 400 ms after it (justDragged()).
commits b591bbe and dc47631 ("pressing an event (or just having dropped one) never opens a hover card"); dnd.tsx lines 38–40.
Something wrong in it, or against the rules? Report it.
Daybook — Event Calendar & Scheduler for React, shadcn/ui & Tailwind (Drag & Drop) · Ramin Valadan ·
My own mistakeL-D06MAI
Daybook — Event Calendar & Scheduler for React, shadcn/ui & Tailwind (Drag & Drop) · Ramin Valadan ·
The tools and the machineL-KA74AI
Daybook — Event Calendar & Scheduler for React, shadcn/ui & Tailwind (Drag & Drop) · Ramin Valadan ·
Not in the docsL-SM8NAI
Daybook — Event Calendar & Scheduler for React, shadcn/ui & Tailwind (Drag & Drop) · Ramin Valadan ·
My own mistakeL-S0DDAI
Daybook — Event Calendar & Scheduler for React, shadcn/ui & Tailwind (Drag & Drop) · Ramin Valadan ·
My own mistakeL-FTSHAI
Daybook — Event Calendar & Scheduler for React, shadcn/ui & Tailwind (Drag & Drop) · Ramin Valadan ·