Modify ↓
Ticket #11059 (closed enhancement: wontfix)
hide(0) / show(0) extremely slow
| Reported by: | info@… | Owned by: | rwaldron |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | effects | Version: | 1.6.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
It's clear, that hide and show do different stuff than just setting css-properties (i.e. display: none / block).
Still, there should be no animation-calculation and performance-leaking stuff when using these functions with a speed of 0
Change History
comment:1 Changed 18 months ago by sindresorhus
- Owner set to info@…
- Status changed from new to pending
comment:2 Changed 18 months ago by rwaldron
- Owner changed from info@… to rwaldron
- Priority changed from undecided to low
- Status changed from pending to assigned
- Component changed from unfiled to effects
- Milestone changed from None to 1.next
It's clear that you're unaware of varied display states - there is no simple "display: none / block". That being said, it should be easy enough to skip the animation path if the values are 0
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.