Skip to content

Table selection is active during image resize #6755

Closed
@Mgsy

Description

@Mgsy

πŸ“ Provide detailed reproduction steps (if any)

  1. Insert a table with an image.
  2. Start the image resize and move the selection to the next cell.

βœ”οΈ Expected result

Cells are not selected.

❌ Actual result

Cells are selected, resizing fails.

πŸ“ƒ Other details

  • Browser: All browsers

GIF


If you'd like to see this fixed sooner, add a πŸ‘ reaction to this post.

Activity

added
type:bugThis issue reports a buggy (incorrect) behavior.
on May 7, 2020
added this to the unknown milestone on May 11, 2020
modified the milestone: unknown on May 11, 2020
niegowski

niegowski commented on May 26, 2020

@niegowski
Contributor

While checking this issue I noticed that table selection and widget resize dragging handling listens for mousedown on view document but this makes it impossible to stopPropagation for nested handlers. Image resize should stop the propagation of mousedown event so that the table handler will not start dragging. I think that we should listen to mousedown on specific objects (image, table) to use DOM event bubbling. mousemove and mouseup should still listen on the document.

removed this from the backlog milestone on Jun 22, 2020

7 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Participants

@Reinmar@jodator@niegowski@pomek@mlewand

Issue actions

    Table selection is active during image resize Β· Issue #6755 Β· ckeditor/ckeditor5