-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Cannot drag n drop table items #2593
Comments
Another bug regarding DnD: I'm using Configuration: self.ordering = {
visible_on: %i[index association],
position: -> { record.sort_order },
drag_and_drop: true,
actions: {
higher: -> { record.move_higher },
lower: -> { record.move_lower },
to_top: -> { record.move_to_top },
to_bottom: -> { record.move_to_bottom },
insert_at: -> { record.insert_at position }
}
} Error: [6160eac6-7a42-4924-9862-56ebd634aafd] ActionController::RoutingError (No route matches [PATCH] "/avo-pro/reorder/course_modules/chapitre-2"): |
I'm seeing the same issue as @jetienne (which is makes drag and drop unusable) |
We're on it! |
This is a Rails 7.1 issue we encountered a few weeks ago. Issuing a fix. |
@adrianthedev FYI I'm using Rails 7.0 and I still get this issue... I'll try the new version once it's released to see if it works on rails 7.0 too |
Got it @iainbeeston! Thanks for reporting it. |
@Paul-Bob I tested 3.5.1, and still get Content Missing. Interesting enough,, the position is now changed:
|
Thanks for reporting it! Closing as completed here #2599 Will be fixed on the today's patch release |
Tested on 3.5.2: it works well in list view, but not on grid view (the icon doesn't appear at all). |
|
Describe the bug
Moving an item (grid or list view) produces a Content Missing error :
Steps to Reproduce
See reproduction repo: https://github.com/mercey-co/dnd_issue
System configuration
Avo version:
3.5.0
Rails version:
7.1.2.3
Ruby version:
3.3.0
License type:
Are you using Avo monkey patches, overriding views or view components?
Impact
Urgency
The text was updated successfully, but these errors were encountered: