Sochettra / dynatree

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

In IE 9 checking/unchecking a node causes scrolling #298

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a tree with checkbox nodes. Force it to have a horizontal scrollbar 
by placing it in too small a container for the trees width.
2. Check or uncheck a node
3. Tree scrolls horizontally unexpectedly

What version of the dynatree and jQuery are you using?
dynatree 1.2.1 RC3 jQuery 1.7.1

On what operating system and browser?
Windows 7 IE 9 (no issue in Firefox 11)

What DOCTYPE declaration are you using?
Using
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
and even
<meta http-equiv="X-UA-Compatible" content="IE=8">
but content is actually in an iframe and quirks mode is forced.

Please provide any additional information below.
Bug is caused by fix to Issue 95. Commenting out 
this.focus();
when processing click on checkbox fixes it.

Original issue reported on code.google.com by slubow...@gmail.com on 16 Mar 2012 at 7:40

GoogleCodeExporter commented 8 years ago
I am facing the same issue. My tree is in a left column that is 260px in width. 
The third level nodes have text that is quite long and makes a Horizontal 
scroll bar appear. 

The selection of these nodes works a charm in Chrome and Firefox. But the 
moment the nodes are clicked in IE9 the tree scrolls to the first character of 
the selected node. I have attached a couple of images to describe the issue.

Anyone who has found a workaround please post here.

Cheers,
Ali

Original comment by aliabbas...@gmail.com on 2 Oct 2013 at 2:00

Attachments:

GoogleCodeExporter commented 8 years ago
Someone already found a solution for this? Because I'm facing exactly the same 
problem and I really hope there's a workaround for this.

Original comment by v.hogend...@gmail.com on 6 Feb 2014 at 11:00

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:49

GoogleCodeExporter commented 8 years ago
Cleanup Scrumboard

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