Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Amelia Kaufman
    Anyone have a good solution for deleting an item? It seems like the HOC is detecting the click as a drag and not a click on an X we placed that triggers a call to a deletion method. @dcavalcante can u share ur solution?
    Amelia Kaufman
    For anyone that comes later, cant use <button><svg></button> it has be to be <button>text</button>
    So if my wrapped component had an onDrop event attached to it (or others) is there any way to access that or keep it active. I want certain actions to take place when dropped on particular elements.. but it seems the event on the wrapped element takes precedence
    @akaufman3 - you should be able to use the press delay parameter so that you can click on an item in order to trigger an event... the sort wont kick in until after that.
    Yaver Mammadov
    Hi everyone, i can't insall react-sortable-hoc from npm
    have any problems in packets ?
    hey guys´╝îhow to drag and drop between multiple lists, drag and drop elements from one container into another.
    hey, guys, how can I trigger update of SortableList? Looks like updateBeforeSortStart is the only way but as the name says, it happens when you try to sort again so any new elements are not visible
    *meant to say SortableContainer
    Wyatt Arent
    Just wanted to drop by and say thanks to the maintainers for your work on this package
    react-dnd and react-beautiful-dnd was a garden path that turned into a living hell and ended up not even having the features I needed
    This was a million times easier to setup and had everything needed
    Eduardo Plaza
    Hello. I am having trouble when trying to persist my sortable list in Firestore. Any suggestions?. I am using hooks, and a snapshot listener to handle DB / state updates
    On sorting I need to show placeholder
    can any one help me with that?
    Jignesh Bhavani
    Does anyone have implemented react-sortable-hoc in Wordpress Gutenberg? I have small query i want to ask thanks in advance
    Input field in SortableElement loses focus on typing
    please help if anyone encountered this issue before
    If you have input field in Sortable Element, on each letter you type it loses the focus while writing
    basically rendering on each letter
    hello guys, can you please help how to implement sortable grid? i guess, it is possible (as per example: ), but no github source available. may some examples you have?
    looks like i'm not the very first here with this question)))
    hello everyone, is anybody have work around for this : clauderic/react-sortable-hoc#9 ?
    hello guys, trying to make sortable works with Material UI GridList (SortableContainer) / GridListTile (SortableElement) , for some reasons, i cannot change the number of columns with cols=X parameter for the given GridList (only 2 columns grid not less, not more).
    my question - does the react-sortable applies any additional hidden styles to the sortable container / element?
    Brian Feeley
    Any thoughts on how to keep a Google Map in your Sortable List from reloading every time you drag and drop it?
    Eshu Goel
    I am facing some issue while selecting a value at the first dropdown and then trying to drag it and drop at 3rd position then the dropped element is not persisting the value. please check
    Kaleem Elahi
    Hey @dbhalalahutwork , Did you find any any solution ?
    Kaleem Elahi
    Hey Everyone
    On sorting I need to show placeholder on Drop target
    Any thoughts on it guys ?
    when m dragging my last element to first element its not scroll automatically ?
    Josue Diaz
    Hi people I have a problem with drag and drop in IE11 the animation is not shown. Is there any way to solve it?
    Mohtashim Khan
    Hi Everyone, is there a way to allow for auto scrolling when locktocontaineredges is set to true?
    Any help will be much appreciated!
    Also is there a way to add styles to an element while it is being dragged
    Hello so when I try to drag an Item it always selects first item in the list and all items except the one i'm dragging disappear... do you know any solutions?
    Hi guys! I ran the basic code and its not auto scrolling in mobile when i bring the item to bottom. Anything I'm missing?
    Sick Sad World
    Hello to everyone! there's some way to fold a list with 100+ items to move the last element on top without make so many scrolls?
    hey's my first time using higher order does this work?
    are there any simple examples out there, i'm having a difficult time finding resources outside of the github docs, which i don't full understand yet.
    as in practical examples :)
    I was looking for a way to implement the sortability to a backend with express/mongodb. I want to update the database with the sorting from the react side. Any suggestions or documentation links would be much appreciated. Thanks.
    Daniel Byun
    How can I sort array of objects with this library?
    hm.. seems like every only asks, no one really responds..
    nvm got it
    hey there, has anyone tried to use react-sortable-hoc and mobx?