Live data from Hacker News

Show HN: Picknplace.js, an alternative to drag-and-drop

jgthms.com

21–30 of 158 posts

Re: Show HN: Picknplace.js, an alternative to drag-and-drop

#21
Does not work with an indexed scrollwheel -- one click of the scroll wheel moves like 4 lines in your list, which seems to break the assumptions of your code. I get very strange behaviors, e.g. "pick" Five, scroll up and down, see swapping of Ten and Six during scroll. Then "place" results in Five being in the same place as before but Nine and Ten are swapped. Similar when using arrow keys.

Re: Show HN: Picknplace.js, an alternative to drag-and-drop

#25

i was expecting when i click pick, that a "place" button would appear on each other item, or i could click on a row OR possibly highlighting the spots between rows either with a line, or "place" i think that's a much more intuitive & reliable ui, and would be an improvement on drag n drop. or a supplement to it

That's a great idea actually. I'd have to find a way to highlight the possible landing spots.

Re: Show HN: Picknplace.js, an alternative to drag-and-drop

#26
post #4

On mobile this is a strong contender for the worst UX I've ever seen. The whole page moves, so you have to continously scroll back up after placing something. If when in pick mode you would only scroll the list, I would be able to organize it much faster.

Perhaps a combination of the two? Maybe standard drag-and-drop works as usual, but if you drag the item to some deadzone (like the side of the screen?), it will stick and you're free to scroll to where you want to put it.

Re: Show HN: Picknplace.js, an alternative to drag-and-drop

#30

Ideas for usability: -Add a background behind the buttons when you have picked. -When having picked, display above the buttons a helper text like "Now scroll to change position".

Came here to write the same. Give it some visual state of “pickedness“ (e.g. by displaying this state as elevated).

But in any case, great stuff!

Post reply on HN