Bug Tracker

Modify

Ticket #8931 (closed bug: wontfix)

Opened 2 years ago

Last modified 2 years ago

.show can't make element appear

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: css Version: 1.5.1
Keywords: Cc:
Blocking: Blocked by:

Description

Element'll not appear if it's style is "display: none !important";

Test case here:  http://jsfiddle.net/uA9aP/

Change History

comment:1 Changed 2 years ago by timmywil

  • Keywords needsdocs added
  • Priority changed from undecided to low
  • Status changed from new to closed
  • Component changed from unfiled to css
  • Resolution set to wontfix

This is intended behavior. !important styles are really important. ;) To override an !important style, do .css('display', 'block !important'). Tagging needsdocs as we should probably state this for fadeIn and show.

comment:2 Changed 2 years ago by addyosmani

  • Keywords needsdocs removed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.