RSS Feed/News XF.Nestable cannot move element to the beginning of the list

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
31,019
Points
823

Reputation:

The position: relative property of .nestable-container and .nestable-list results in different coordinates for e.pageY and pointEl.offsetTop in XF.NestableList.dragMove, causing before to always be false, and the dragged element cannot be placed in front of the first element in the list:
View attachment Screencast_20260325_030537.webm

Possible fix:
Diff:

Code:
Index: js/xf/nestable.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8...

Read more

Continue reading...
 
Status
Not open for further replies.
Top