You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried asking about this on stack overflow and got no response, so I'm posting here as well.
I just updated my application from the old Dnd extension to Dnd5 and I'm now seeing multiple/many server AJAX calls (usually 5 or 6) when I hover over lazy-load nodes while dragging. I have only implemented the dragStart, dragEnter, and dragDrop callbacks. When dragging over a lazy load node, I only see one dragEnter event callback triggered, but this is followed by a variable number of node loads. (I can't really see a pattern to why the number of loads varies.)
Is there some special handling or response required from the lazyLoad callback to prevent this? I should also point out that I also updated to the latest version of Fancytree (2.34.0) so perhaps something else has changed that is causing this? (My tree works fine otherwise.)
Expected and Actual Behavior
Expected: exactly one lazy load call when node auto expansion is triggered.
Actual: from 1 to up to 6 lazy load calls for the same node when auto expansion is triggered.
Note: old Dnd extension works as expected in same application.
Steps to Reproduce the Problem
I don't yet have a simplified example - if this is unexpected behavior (vs usage problem), I will create one.
Environment
Latest version of Google Chrome (Ubuntu 18 and Windows 10), Firefox (Ubuntu), Edge (Windows 10)
jQuery 1.12.4
jQuery UI 1.12.1
Fancytree version: 2.34.0
Extensions: Dnd5, themeroller
The text was updated successfully, but these errors were encountered:
I tried asking about this on stack overflow and got no response, so I'm posting here as well.
I just updated my application from the old Dnd extension to Dnd5 and I'm now seeing multiple/many server AJAX calls (usually 5 or 6) when I hover over lazy-load nodes while dragging. I have only implemented the dragStart, dragEnter, and dragDrop callbacks. When dragging over a lazy load node, I only see one dragEnter event callback triggered, but this is followed by a variable number of node loads. (I can't really see a pattern to why the number of loads varies.)
Is there some special handling or response required from the lazyLoad callback to prevent this? I should also point out that I also updated to the latest version of Fancytree (2.34.0) so perhaps something else has changed that is causing this? (My tree works fine otherwise.)
Expected and Actual Behavior
Expected: exactly one lazy load call when node auto expansion is triggered.
Actual: from 1 to up to 6 lazy load calls for the same node when auto expansion is triggered.
Note: old Dnd extension works as expected in same application.
Steps to Reproduce the Problem
I don't yet have a simplified example - if this is unexpected behavior (vs usage problem), I will create one.
Environment
The text was updated successfully, but these errors were encountered: