This is a migrated thread and some comments may be shown as answers.

Drag & Drop: Potential Bug

3 Answers 96 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 13 May 2013, 04:22 PM
I believe I have found a bug in the TreeView control.  I have produced this in FF & IE latest, within the attachment.

To reproduce:

  1. Expand "outer 6"
  2. Drag "inner 3" over "outer 1" and release
  3. Drag "outer 1" over "inner 2" and release
  4. ISSUE: "inner 3" disappears
  5. ISSUE: try collapsing "inner 2", spinner graphic stays

I'm thinking this has to do with the fact that I started with an existing ul/li structure as it doesn't appear to happen on the demos.

If I'm incorrect here, what is the resolution?

JB

3 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 14 May 2013, 11:36 AM
Hello Jason,

Thank you for reporting this. The bug will be fixed in the upcoming service pack release. Your Telerik points have been updated for the bug report.

Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jason
Top achievements
Rank 1
answered on 14 May 2013, 10:26 PM
I've found 2 additional items that could be put on your list.

  • When converting and existing ul/li html set to a TreeView, with drag and drop enabled, the drop hint at very top & bottom is cut off, but this is not the case with dataSource.
  • "section" cannot be used (this may be intended) as the root tag for creation of a TreeView, div works as expected. ex:
    <section id="treeview"></section>
    this will result in an unusable tree
0
Alex Gyoshev
Telerik team
answered on 15 May 2013, 09:21 AM
Hello Jason,

The initialization from arbitrary HTML elements has been fixed and the bug fix will be included in the next internal build. Regarding the cutting off of the drag hint, it is caused by the overflow CSS property that is set to the treeview, and can be suppressed with the following CSS:

    div.k-treeview {
      overflow: visible;
    }

Here is a jsBin that illustrates it. The said style is set in order to allow scrollbars by default, and we cannot remove it, as it will introduce a serious breaking change.

Greetings,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
Jason
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Jason
Top achievements
Rank 1
Share this question
or