When using django-admin-sortable2 with Django 5.2 and Django CMS 4+ with inline that has a collapsed class (in my case called Multimedia), after expanding the collapsed inline, drag and drop does not work, nor does the arrow repositioning.
Using it for images sorting like so...
class MultimediaInline(SortableStackedInline):
model = Multimedia
readonly_fields = ('image_tag',)
fields = ('image_tag', 'type', 'image', 'video_url', 'panorama')
extra = 0
classes = ['collapse']
My parent class has SortableAdminBase of course.
When the class is removed it works as expected.
When using django-admin-sortable2 with Django 5.2 and Django CMS 4+ with inline that has a collapsed class (in my case called Multimedia), after expanding the collapsed inline, drag and drop does not work, nor does the arrow repositioning.
Using it for images sorting like so...
My parent class has SortableAdminBase of course.
When the class is removed it works as expected.