#9180 closed bug (notabug)
effect "highlight" displays hidden elements
Reported by: | dmack | Owned by: | dmack |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.effects.* (individual effect) | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
With a full (but minimized) version of jQuery UI using the effect "highlight" on hidden elements (in my case : a hidden JQuery UI button) the button is shown after the animation / highlighting completes. This is now the second time i stumble upon wrong display-states of elements after using JQuery UI - effects or animations ... there is something wrong with the completion-procedures, someone should look into it
Change History (7)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Owner: | set to dmack |
---|---|
Status: | new → pending |
Hi dmack,
Thanks for taking the time to contribute to the jQuery UI project. In order to assess this ticket we need a reduced test case that shows the issue. You can use this as a starting point http://jsfiddle.net/Vf4Gn/.
Thanks.
comment:4 Changed 10 years ago by
a case which is closer to my real code : http://jsfiddle.net/Vf4Gn/2/
interestingly, using the "edge"-version of JQuery and JQuery UI the bevaviour is vastly different - and in some cases, it behaves like expected ....
comment:5 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Thanks for contributing! According to http://api.jqueryui.com/highlight-effect/
"Description: The highlight effect hides or shows an element by animating its background color first."
Also, your fiddle was using a super old jQueryUI. Here's the fiddle using the latest version showing the correct and expected results: http://jsfiddle.net/Vf4Gn/
comment:6 Changed 10 years ago by
erm ... 1.9.2 is the CURRENT version, thats the exact opposite of "super-old"
comment:7 Changed 10 years ago by
1.10.2 is current jQueryUI, and the fiddle you provided here: http://jsfiddle.net/Vf4Gn/1/ is using 1.8.9
additional info : is enclosed the button in a table :
<table> <tbody> <tr> <td> {BUTTON} </td> </tr> </tbody> </table>
and i was using the effect on the table-row (TR).