jquery / jqueryui.com

jQuery UI web site content
https://jqueryui.com
Other
132 stars 113 forks source link

jQuery UI Position issue with hidden elements #171

Closed hubocan closed 6 years ago

hubocan commented 6 years ago

Position is not set properly when the destination element is hidden.

hubocan commented 6 years ago

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.

mgol commented 6 years ago

This is a documentation repo. jQuery UI issues should be reported at https://bugs.jqueryui.com/.