@bradvatne
Posted
Hey Glen!
Nice implementation! Great work with the Drag n Drop, I might have to go back and implement it on mine. Awesome job on the animations as well.
You've done a great job so I can only nitpick and say the bit of vertical scroll is kind of annoying and especially if the user has scrolled down and activates a modal, it scrolls up, closes the sidebar, and the modal pops up and its all a bit jarring! A few too many things going on and give it a slightly unpolished feel
The horizontal scroll however is great! Was that in the spec or your own creation? Nice one.
Great work, can't wait to dig into the code tomorrow and check out your drag n drop implementation and see if I can't replicate it in my project! I'll be sure to keep an eye on your future projects, cheers!
Brad
@GlenOttley
Posted
@bradvatne Thanks, that's a good observation about the scrolling behaviour and something I will definitely take a look at as I continue to work on this app.
Yep the horizontal scroll buttons at smaller viewports was kind of my lazy way to maintain the drag and drop functionality for those using mobile devices. Without these it would be nearly impossible for these users to scroll across to the other columns, since touching a task immediately begins dragging it around (therefore the user would have to find some empty column space in order to swipe horizontally to view the other columns, not good!).
I suspect the 'best' solution to this would be to have the drag and drop functionality on touch devices only activate if the user touches and holds a task. I did try to implement this using the 'activationContstraint' property on @dnd-kit's 'TouchSensor' API, but could not get this to work for some reason. If you do implement drag and drop on your solution using @dnd-kit, I would be very interested to see it, so do let me know!
All the best, Glen