Topic: Drag and drop lock axis on mdbSortableContainer
agenda priority asked 2 years ago
Expected behavior*To have blocked axis in mdbSortableContainer*Actual behavior[lockAxis]="'y'" does not work
Resources (screenshots, code snippets etc.)
<div mdbSortableContainer #draggableContainer class="sortable-list" (itemDrop)="onDrop($event)" > <div [boundaryElement]="draggableContainer" mdbDraggable [lockAxis]="'y'" *ngFor="let item of items" class="sortable-item" [handle]="handle" >
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 2.3.0
- Device: computer
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 2 years ago
Thank you for reporting this problem, it looks like there is a bug on our end. We will take a closer look at that and fix it as soon as possible.