Opened 9 months ago

Last modified 9 months ago

#15285 new bug

jQuery UI Position issue with hidden elements

Reported by: hubocan Owned by:
Priority: minor Milestone: none
Component: ui.position Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Ryan J Ollos)

Position is not set properly when the destination element is hidden. Related issue is when hidden element is shown using:

.toggle({
  duration: "fast",
  effect: "fade"
}).position({
  my: "right top",
  at: "right bottom",
  of: this
});

Position is lost after the effect animation completes. If the effect property is not set, the default effect is used and position is properly set even when effect animation completes.

http://jsbin.com/pocuwonipe/edit?js,output

Change History (2)

comment:1 Changed 9 months ago by hubocan

Description: modified (diff)

comment:2 Changed 9 months ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.