This topic is locked
[SOLVED]

Very difficult to move menu groups by drag/drop

9/12/2024 4:27:03 PM
ASPRunnerPro General questions
E
erosolmi author

ASPRunner.NET 11.00 E build 42395

I found very difficult, sometimes impossibile, to drag/drop menu grups in Menu Editor once group is created
I can drag/drop in the position where I want but when I release, group does not move at all.

Maybe adding in right click context menu a "Move Up" and "Move Down" or add buttons to move up/down can help.

I would like to move Orders in the last position but seems impossibile

Thanks
Eros

img alt

E
erosolmi author 9/12/2024

I Drag the group i the position but seems not working at all.

When tring to move the following error occurs:

Generic
TypeError
Cannot read properties of null (reading 'children')
hide details
TypeError: Cannot read properties of null (reading 'children')
at MenuManager.moveElement (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/main.dde6d7bdb8ad303a.js:14:34)
at file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/main.dde6d7bdb8ad303a.js:14:10
at Array.forEach (<anonymous>:null:null)
at MenuEditorController.moveMenuItem (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/main.dde6d7bdb8ad303a.js:14:10)
at MenuEditorComponent.handleDrop (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/main.dde6d7bdb8ad303a.js:14:10)
at MenuEditorComponent_ng_container_0_ng_container_30_Template_div_drop_2_listener (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/main.dde6d7bdb8ad303a.js:14:10)
at executeListenerWithErrorHandling (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/vendor.94db4168c7b0a099.js:14:10)
at wrapListenerIn_markDirtyAndPreventDefault (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/vendor.94db4168c7b0a099.js:14:10)
at HTMLDivElement.<anonymous> (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/vendor.94db4168c7b0a099.js:7:1)
at _ZoneDelegate.invokeTask (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/polyfills.2e8b6e73d89c463d.js:7:1)
at Object.onInvokeTask (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/vendor.94db4168c7b0a099.js:14:25)
at _ZoneDelegate.invokeTask (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/polyfills.2e8b6e73d89c463d.js:14:45)
at Zone.runTask (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/polyfills.2e8b6e73d89c463d.js:14:34)
at ZoneTask.invokeTask [as invoke] (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/polyfills.2e8b6e73d89c463d.js:14:25)
at invokeTask (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/polyfills.2e8b6e73d89c463d.js:14:10)
at globalCallback (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/polyfills.2e8b6e73d89c463d.js:14:10)
at HTMLDivElement.globalZoneAwareCallback (file:///C:/Users/eolmi/AppData/Local/ASPRunnerNet11/app-11.0.14/resources/wizard/polyfills.2e8b6e73d89c463d.js:14:10)

img alt

Sergey Kornilov 9/13/2024

When you want to move a group or a menu item to a subgroup it is not possible to tell if you want to see it as a last element of a group or as a new element right after the group. So, in your situation drag "Canvass" above "Items" element first and then drag it to be below "Items".

There is also a gray horizontal line there that explains where the dragged item will land.

E
erosolmi author 9/18/2024

Yes I did it many times but with no results.
Anyway in build 42419 I was able to move menu items.
Still difficult a bit though.

I close this post