feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
916 stars 386 forks source link

Smooth scrolling when using the scrollbar #372

Open ladigitale opened 11 years ago

ladigitale commented 11 years ago

Scrolling is smooth when dragging content of a list and when using the mousewheel. It would be great if it was the same with "interactionMode = INTERACTION_MODE_MOUSE" when using the scrollbar. Another awsome thing would be to be able to mix MOUSE mode and TOUCH mode.

ladigitale commented 11 years ago

A workaround i found is to replace the scrollbar with a custom scrollbar in my theme (for example a copy of SimpleScrollbar). i Replaced calls to "this.value = newValue" by a call to a custom function animateTo(newValue) which animates this.value to the new value by the help of an ENTER_FRAME Event.

joshtynjala commented 11 years ago

This is probably the way I would implement it, so I wouldn't necessarily call it a workaround. ;)