Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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 7 years ago by dmack

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).

comment:2 Changed 7 years ago by mikesherov

Owner: set to dmack
Status: newpending

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:3 Changed 7 years ago by dmack

Status: pendingnew

comment:4 Changed 7 years ago by dmack

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 7 years ago by mikesherov

Resolution: notabug
Status: newclosed

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/3

Last edited 7 years ago by mikesherov (previous) (diff)

comment:6 Changed 7 years ago by dmack

erm ... 1.9.2 is the CURRENT version, thats the exact opposite of "super-old"

comment:7 Changed 7 years ago by mikesherov

1.10.2 is current jQueryUI, and the fiddle you provided here: http://jsfiddle.net/Vf4Gn/1/ is using 1.8.9

Note: See TracTickets for help on using tickets.