Effect: ui-effects-wrapper now respects element's display property.#1047
Effect: ui-effects-wrapper now respects element's display property.#1047euyuil wants to merge 1 commit intojquery:masterfrom
Conversation
|
Thanks @euyuil. This change seems reasonable to me. I think this test case shows the idea behind this a little better: http://jsfiddle.net/tj_vantoll/FxH3Y/. Could you:
Thanks. |
|
Hi @tjvantoll, Today I just found that there's not only This fiddle for example seems tricky... And I've just created ticket # 9477 at bugs.jqueryui.com. So what can I do to help next? |
|
@gnarf & @mikesherov Do either of you have any concerns with applying |
|
I'd defer to @gnarf here as the original author. The effects rewrite gets rid of wrapper in favor of a placeholder, so in the future this might be a moot point. |
|
Hrm...
|
|
@mikesherov yes if in the future the effects get rid of wrapper this would be not a problem. @gnarf, I think for |
|
There are so many edge cases to worry about here that as long as you do some testing with all of the display properties using a all of the effects that use the wrapper, I'll support it - I just want to make sure it doesn't create another hidden bug in like |
|
Thanks @gnarf & @mikesherov. If a wrapper won't be used after the effects rewrite, and that's due to land in 1.11... then it's not really worth going down this route. I do think we should leave #9477 open as this is a valid use case. If the rewrite doesn't resolve this, then we can re-investigate. Thoughts? |
|
Thanks again for contributing, but as discussed last year, this is a moot point given the effects rewrite, and therefore closed, as the effects rewrite is almost here. |
A small fix to Effect. After the fix,
div.ui-effects-wrapperwill respect the element's CSSdisplayproperty.Try this fiddle written using jQuery UI before this fix (jQuery 1.10.2, jQuery UI 1.10.3).