Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Drag&Drop broken on Django Unfold #403

Closed
raayu83 opened this issue Aug 2, 2024 · 2 comments
Closed

Inline Drag&Drop broken on Django Unfold #403

raayu83 opened this issue Aug 2, 2024 · 2 comments

Comments

@raayu83
Copy link

raayu83 commented Aug 2, 2024

Hello,

when using this app together with Django Unfold, the Inline sorting function is broken:
If you drag an entry, only the title part is dragged, the dropdown part is ignored and stays in the old place.

I'm not that deep into JavaScript, but if you can give me some hints what I need to look into I'd be willing to give it a try to fix this issue.

In case it is important, my Inline Class signature is like this:

class MyInline(unfold.admin.TabularInline, adminsortable2.admin.SortableStackedInline)

Tabularinline needs to be first, otherwise the styling is broken.

@jrief
Copy link
Owner

jrief commented Aug 2, 2024

Duplicate of #398

@jrief jrief marked this as a duplicate of #398 Aug 2, 2024
@jrief jrief closed this as completed Aug 2, 2024
@raayu83
Copy link
Author

raayu83 commented Aug 2, 2024

I'd not exactly call this a duplicate... #398 is about styling issues, this is about a functional bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants