Skip to main content

Bug Tracker

Side navigation

#7545 closed bug (worksforme)

Opened November 17, 2010 08:30PM UTC

Closed November 19, 2010 06:06PM UTC

Hide/show on a table row fails for Firefox in certain cases

Reported by: Peter Crabtree <peter.crabtree@gmail.com> Owned by: Peter Crabtree <peter.crabtree@gmail.com>
Priority: low Milestone:
Component: effects Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

Hiding a row, attaching it to the DOM, then showing it causes the display to be set to "block" for Firefox (which is bad, since it then causes the row to show in the first column only).

(Tested on Firefox 3.6.10)

http://jsfiddle.net/Nqfa4/2/

Attachments (0)
Change History (5)

Changed November 17, 2010 09:19PM UTC by rwaldron comment:1

component: unfiledeffects
milestone: 1.5
owner: → Peter Crabtree <peter.crabtree@gmail.com>
priority: undecidedlow
status: newpending

Please take a look at this:

http://jsfiddle.net/rwaldron/Nqfa4/5/

Can you confirm this is the behavior you were expecting?

Changed November 18, 2010 08:41PM UTC by Peter Crabtree <peter.crabtree@gmail.com> comment:2

status: pendingnew

Replying to [comment:1 rwaldron]:

http://jsfiddle.net/rwaldron/Nqfa4/5/ Can you confirm this is the behavior you were expecting?

In Firefox 3.6.10, that adds two rows, unless I have FireBug open, in which case it adds one. :-/

The intended behavior is to add a hidden row, and then show it (in a real-world application, the showing part would happen later).

Changed November 19, 2010 10:31AM UTC by jitter comment:3

status: newpending

Replying to [comment:2 Peter Crabtree <peter.crabtree@…>]:

Replying to [comment:1 rwaldron]: > http://jsfiddle.net/rwaldron/Nqfa4/5/ > > Can you confirm this is the behavior you were expecting? In Firefox 3.6.10, that adds two rows, unless I have FireBug open, in which case it adds one. :-/ The intended behavior is to add a hidden row, and then show it (in a real-world application, the showing part would happen later).

That's only because console is undefined and the js is run twice. Try http://jsfiddle.net/Nqfa4/6/

Can you can confirm that's the behavior you want?

Changed November 19, 2010 02:22PM UTC by Peter Crabtree <peter.crabtree@gmail.com> comment:4

status: pendingnew

That's the behavior I want/expect; yes.

Changed November 19, 2010 06:06PM UTC by jitter comment:5

resolution: → worksforme
status: newclosed

Ok then. http://jsfiddle.net/jitter/Nqfa4/7/

Thanks for taking the time to contribute to the jQuery project.

If you feel this ticket was incorrectly closed feel free to report back and reopen the issue.