Bug Tracker

Opened 10 years ago

Last modified 10 years ago

#9336 closed enhancement

:hidden doesn't check for opacity: 0 — at Initial Version

Reported by: lonesomeday Owned by:
Priority: low Milestone: 1.7
Component: effects Version: 1.6.1
Keywords: needsreview, 1.7-discuss Cc:
Blocked by: Blocking:


The logical way to prepare an element to be faded in using fadeIn is by setting the opacity style to 0. However, invoking is(':hidden') on an element with opacity 0 returns false, unless hidden by display: none.

jsFiddle example

StackOverflow question

It would be useful if the :hidden filter checked the opacity setting.

Change History (0)

Note: See TracTickets for help on using tickets.