Letractively / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

UL elements get overflow:hidden when animating #388

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When specifying fx attribute to dynatree, after the toggle animation, the UL 
element being toggled gets "overflow: hidden", so horizontal scroll will not 
work if needed.

What version of the dynatree and jQuery are you using?
latest for both

On what operating system and browser?
Chrome on Mac

What DOCTYPE declaration are you using?
HTML5 <!DOCTYPE html>

Please provide any additional information below.

Go to line 386 and replace, this will solve the problem:

var duration = opts.fx.duration || 200,
previousOverflow = $(this.ul).css('overflow');

$(this.ul).animate(opts.fx, duration, function() {
      $(this).css('overflow', previousOverflow);
});

Original issue reported on code.google.com by fmvi...@gmail.com on 28 Dec 2012 at 5:11

GoogleCodeExporter commented 8 years ago
As of 2014 Dynatree is feature frozen.
Please have a look at Fancytree (sequel of DynaTree 1.x): chances are good that 
the problem was resolved / the requested featuer is already implemented.
Please open a new issue there otherwise:

https://github.com/mar10/fancytree

Original comment by moo...@wwwendt.de on 1 May 2014 at 4:44

GoogleCodeExporter commented 8 years ago
Cleanup Scrumboard

Original comment by moo...@wwwendt.de on 2 May 2014 at 7:47