Opened 11 years ago
Closed 11 years ago
#11059 closed enhancement (wontfix)
hide(0) / show(0) extremely slow
Reported by: | Owned by: | Rick Waldron | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | effects | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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 (3)
comment:1 Changed 11 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Component: | unfiled → effects |
---|---|
Milestone: | None → 1.next |
Owner: | changed from [email protected]… to Rick Waldron |
Priority: | undecided → low |
Status: | pending → assigned |
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
comment:3 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
I take that back. This case is intended and has supporting tests.
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.