Closed sehsarah closed 1 year ago
Note, realised this patch needs to be extended to ensure display: none
on load too.
For now (in a rush) I've used this patch + the callback
config as:
callback: function () {
$(this).css('display', 'none');
}
Will come back to this. Still mergeable tho IMO
Fade invisible element to
display: none
Fade invisible element to
display: none
by usingfadeOut
rather thanfadeTo
(which currently leaves the hidden opacity 0 elements on page so can mouseover them etc)From the docs http://api.jquery.com/fadeout/
No other functionality changes except for
opacity: 0
elements are alsodisplay: none
with this changeMy issue without this patch
display: none
, it is justopacity: 0
and still present in the layoutTherefore this patch fixes my issue
Hope this helps someone :)