Opened 10 years ago

Closed 10 years ago

#11161 closed Bug (fixed)

Widget's drag handler is not repositioned after various actions

Reported by: Piotrek Koszuliński Owned by: Marek Lewandowski
Priority: Normal Milestone: CKEditor 4.3.2
Component: UI : Widgets Version: 4.3 Beta
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

Blocked by: #11001.

TC1

  1. Open image2 sample.
  2. Center first image.
  3. Maximize editor.
  4. Drag handler is not repositioned.

TC2

  1. Open image2 sample.
  2. Center first image.
  3. Drag first image lower, so it's at similar height as 2nd image.
  4. At some point 2nd image, which is floated, will cause that 1st image will be moved a little bit to the left.
  5. But drag handler won't be repositioned.

Change History (6)

comment:1 Changed 10 years ago by Piotrek Koszuliński

Summary: Widget drag handles is not repositioned after various actionsWidget's drag handler is not repositioned after various actions

comment:2 Changed 10 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.3.1
Status: newconfirmed

To solve this drag handles would have to be repositioned after every editor#resize and editor#change. It would be a unnecessarily heavy, so it'd be better to do that only when handler is show, so on widget wrapper#mousein if there was any change or resize after last repositioning. Therefore this ticket should go after #11001.

comment:3 Changed 10 years ago by Piotrek Koszuliński

Description: modified (diff)

comment:4 Changed 10 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 4.3.1CKEditor 4.3.2

comment:5 Changed 10 years ago by Marek Lewandowski

Owner: set to Marek Lewandowski
Status: confirmedassigned

Issue will be fixed by #11177.

Last edited 10 years ago by Marek Lewandowski (previous) (diff)

comment:6 Changed 10 years ago by Marek Lewandowski

Resolution: fixed
Status: assignedclosed

Fixed in #11177 with git:32e096f4fb70

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy