Custom Viewport DragToScroll behaviour


#1

Hey Everyone,

I’m looking to implement a more native feel for the drag scrolling of a Viewport

I’ve made a couple of changes to Viewport to allow custom DragToScrollListeners to be used
I’ve only implemented a very simple change so far, where the current scrolling action is cancelled on mouseDown, my plan was to continue with the “Material”-esque blob that appears at the top of the view when you’re trying to scroll past the top

But I was wondering if anyone had any experience with doing similar?
I feel like having to edit Viewport isn’t ideal, maybe I’ve missed something obvious?


#2

That would be really cool indeed, any feedback? :monkey_face:


#3

To be more clear why I need it: the default scroll behaviour cannot meet the fine-tuning need for the high quality experience on a mobile touch platform we’re after