Skip to content

Drag only in Horizontal direction prevent vertical direction dragging.  #1710

Open
@riyaistar

Description

@riyaistar

Problem:

JSBin/JSFiddle demonstrating the problem:

https://jsfiddle.net/riyamitra/xtsz58od/5/
https://stackoverflow.com/questions/59523965/sortable-js-swap-direction-horizontal-not-working

I am facing problem with draggable direction in horizontally scrollable divs. I have used swaped true in horizontal list. I am trying to prevent the vertical direction but it still dragging in vertical direction. how can i prevent its dragging. The dragging element is not revert back to its position if drag vertically. please see jsfiddle/ stackoverflow post for the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SwapRelating to the Swap pluginbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions