Opened 10 years ago

Last modified 10 years ago

#11281 closed Bug

Drag handler and mask are duplicated when reinitializing lost widget — at Version 1

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

Description (last modified by Piotrek Koszuliński)

  1. Open placeholder sample.
  2. Focus placeholder.
  3. Click list button multiple times.
  4. See that placeholder widget contains many drag handlers.

The reason is that when we reinitialize widget, we take the old DOM and repeat the initialization process, which creates drag handlers, masks and perhaps something else. During reinitialization we should search for those elements first and reuse them / recreate them if they already exist.

It may be related to #11112.

Change History (1)

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

Description: modified (diff)
Summary: Drag handler is duplicated when reinitializing lost widgetDrag handler and mask are duplicated when reinitializing lost widget
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