Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (106 - 108 of 7259)

Ticket Resolution Summary Owner Reporter
#9226 wontfix animated addClass with many children is slow BenEllis BenEllis
Description

As per this example,

http://jsfiddle.net/gUG4H/2/

When using

$('div.outer').addClass('myanimatedclass', {
    children: true,
    duration: 1000
});

if div.outer has many children the performance is slow, this appears to because the animateClass method uses the "any element" selector "*". Could this either only select children affected by the adding of the class, or, allow a selector to be passed in to select the children?

e.g.

$('div.outer').addClass('myanimatedclass', {
    children: true,
    childSelector: 'div.inner',
    duration: 1000
});
#9227 duplicate Poor Performance of animateClass with children - 500 elements > 1 second pause BenEllis
Description

My use case is I'm displaying a conversation history (100s - 1000s of lines) and the user wants the ability to minimize, restore and maximize the view. Other controls inside the container change size.

Below is a contrived example of what I'm trying to achieve,

http://jsfiddle.net/BenEllis/4Gwe9/3/

When using

$('div.outer').addClass('myanimatedclass', {
    children: true,
    duration: 1000
});

if div.outer has many children the performance is slow. Could the performance be improved by using the CSS rules to build a selector of children that would be affected by the classes being added / removed?

#8780 notabug Self Closing Anchor Tag before Jquery UI Tab breaks first tab. BenLiyanage
Description

Please see comments in the JS fiddle. Bug is reproduced with one of the demo tabs examples.

http://jsfiddle.net/ZHMNP/

Note: See TracQuery for help on using queries.