Kanban task popup closes when mouse is released outside popup #2074

Closed
opened 2023-10-18 22:21:32 +00:00 by leondeklerk · 2 comments

Description

On the kanban board, I've encountered an issue where the edit popup will close when the mouse is released, despite the initial mouse down event being inside the popup.

Reproduction

  • On a kanban board, open a task
  • Select any text on the popup (e.g. the title of the task)
  • Without releasing, drag the mouse outside the popup
  • Release your mouse

Expected

The popup does not close, and the text you wanted to select is now selected.

Actual

The popup closes as if you clicked outside the popup to close it.

Demo video:

bug.gif

Vikunja Frontend Version

0.21.0

Vikunja API Version

0.21.0

Browser and version

Firefox v118.0.2; Chrome v118.0.5993.72

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

### Description On the kanban board, I've encountered an issue where the edit popup will close when the mouse is released, despite the initial mouse down event being inside the popup. #### Reproduction - On a kanban board, open a task - Select any text on the popup (e.g. the title of the task) - Without releasing, drag the mouse outside the popup - Release your mouse #### Expected The popup does not close, and the text you wanted to select is now selected. #### Actual The popup closes as if you clicked outside the popup to close it. Demo video: ![bug.gif](/attachments/77e9e4b1-f086-4c83-9c58-024436a0f3ff) ### Vikunja Frontend Version 0.21.0 ### Vikunja API Version 0.21.0 ### Browser and version Firefox v118.0.2; Chrome v118.0.5993.72 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
452 KiB
leondeklerk added the
kind/bug
label 2023-10-18 22:21:32 +00:00
Owner

Resolved in 5d91134b48 - please verify with the next unstable build if the problem has been resolved for you.

Resolved in https://kolaente.dev/vikunja/frontend/commit/5d91134b488785fc35ad28d7ccde99f4e62a075c - please verify with the next unstable build if the problem has been resolved for you.
Author

Tested in latest unstable and it works correctly now!

Tested in latest unstable and it works correctly now!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#2074
No description provided.