0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-17 13:52:04 +00:00

Updated shelf book management to allow scroll on mobile

Updates book drag handling to be limited to the handle so scrolling can
be done on the items themselves.
Increased handling area and improved styling to support
This commit is contained in:
Dan Brown 2022-09-28 20:48:29 +01:00
parent f79b7bc799
commit ccbc68b560
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
2 changed files with 34 additions and 19 deletions
resources/js/components

View file

@ -19,6 +19,7 @@ class ShelfSort {
new Sortable(scrollBox, {
group: 'shelf-books',
ghostClass: 'primary-background-light',
handle: '.handle',
animation: 150,
onSort: this.onChange.bind(this),
});