Looks like we can't reproduce the issue or there's a problem in the test case provided.
-
Sencha Premium Member
Folder is dropped automatically for IE8 on hovering for few seconds
Hello,
Folder is dropped automatically in treeView, if user drags it and hovers it on another folder for few seconds( which is configured in Ext.tree.viewDropZone) in IE browser but, in firefox it is working fine.
For more info:-
In IE browser , if folder has any child folder then, with 'expand' event it is firing 'beforedrop' event of treeView due to that folder is automatically getting dropped to hover folder without dropping.
Thanks in advance for working solution.
Thanks,
Rahul Srivastava
-
I am unable to duplicate this. Is the drop actually taking place as if you drop the node?
What version of Ext4 are you using?
Scott
-
Sencha Premium Member
Folder is dropped automatically for IE8 on hovering for few seconds
Dear Scott,
Yes, Node is getting placed on node drop. But, if user delays in dropping node (means, after dragging if user holds that node and mouseover to another node) then it automatically drops that node in IE browser and in Firefox browser without user drop action, node is not getting dropped.
Yes, i am using ExtJS4.1 version.
Hope above information will help you.
Thanks in advance for working solution.
Thanks,
Rahul Srivastava
-
As mentioned, I was unable to duplicate this problem. Can this be seen in any of our online examples, or is it specific to your application?
Are you using Ext4.1.? can you specify the last number?
Scott.
-
Sencha Premium Member
Dear Scott,
All examples available online doesn't have expand true on mouseover, so can't give you online example for this.
I am getting above issue only when i am trying to drag any folder on any other folder which has child then on mouseover that destination folder executes a ajax call to expand that folder. After expanding that folder it fires 'beforedrop' or 'drop' event (without dropping of drag folder to destination folder) of treeView. But, as i said earlier, in firefox 'beforedrop' or 'drop' events are getting fired only after dropping drag folder to destination folder.
I am using ExtJS4.1.0 version.
Hope this will help.
Thanks in advance for working solution.
Thanks,
Rahul Srivastava
-
Sencha Premium Member
Dear Scott,
Any update for below bug.
If you need any other info then please let me know.
Thanks,
Rahul Srivastava
-
All examples available online doesn't have expand true on mouseover
What config option are you referring to?
-
Sencha Premium Member
I am using below viewConfig options for Ext.tree.Panel:-
viewConfig: {
plugins: {
ddGroup: 'contentItemsDD',
ptype: 'treeviewdragdrop',
pluginId: 'treeViewDnd',
appendOnly: true,
nodeHighlightOnRepair: false,
enableDrop: true,
draggable: true
},
toggleOnDblClick: true
}
-
The plugin ignores draggable option (at least it is not documented) all other options you set are default or not pertinent to the problem.
Nevertheless, running IE9 in IE8 mode at http://dev.sencha.com/deploy/ext-4.1...two-trees.html does show the behavior you describe.
Steps to reproduce:
1. Drag a not-expanded node from left to right
2. Drag another node from left to right and hover the mouse over the node dragged in step 2 (don't drop)
3. After a while the dragged node is dropped automatically
Do you want me to move this thread to bugs?
-
14 Oct 2012, 10:32 PM
#10
Sencha Premium Member
Dear jsakalos,
Thanks for moving this thread and understanding problem.
You are correct, the time i am changing IE9 to IE8 mode i am facing this problem.
Yes, Please move this thread to bug and provide a solution or suggetion as soon as possible.
Thanks,
Rahul Srivastava