Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2463 closed bug (fixed)

Shadow causes elements it doesn't own to change size on DOM modifications

Reported by: namesbc Owned by: paul
Priority: major Milestone: 1.2.4
Component: enchant Version: 1.2.3
Keywords: shadow Cc:
Blocked by: Blocking:


fx.shadow.js assumes that the next element is always the shadow element and modifies all of its child elements whenever the dom changes. The shadow is not always the next element, and in fact is never the case after the shadow is removed.

So after a shadow is removed this causes the fx.shadow code to change the size of any element that is in the position where the shadow used to be.

The fix is simple, and only requires changing line 69: $element.next() --should become--> $element.next(".fx-shadow")

Change History (3)

comment:1 Changed 15 years ago by davidserduke

Component: fxui
Owner: set to paul

comment:2 Changed 15 years ago by paul

Component: uienchant

comment:3 Changed 15 years ago by paul

Resolution: fixed
Status: newclosed

Fixed in trunk.

Note: See TracTickets for help on using tickets.