Side navigation
#11059 closed enhancement (wontfix)
Opened December 19, 2011 02:09PM UTC
Closed December 19, 2011 06:44PM UTC
hide(0) / show(0) extremely slow
Reported by: | info@fabian-irsara.com | Owned by: | rwaldron |
---|---|---|---|
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
Attachments (0)
Change History (3)
Changed December 19, 2011 06:36PM UTC by comment:1
owner: | → info@fabian-irsara.com |
---|---|
status: | new → pending |
Changed December 19, 2011 06:41PM UTC by comment:2
component: | unfiled → effects |
---|---|
milestone: | None → 1.next |
owner: | info@fabian-irsara.com → rwaldron |
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
Changed December 19, 2011 06:44PM UTC by comment:3
resolution: | → wontfix |
---|---|
status: | assigned → closed |
I take that back. This case is intended and has supporting tests.
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.