ianharrigan / haxeui

IMPORTANT NOTE! This repository is no longer maintained. Please consider the newer version: https://github.com/haxeui/haxeui-core
http://haxeui.org/
392 stars 47 forks source link

Fix scroll stop event #365

Closed aW4KeNiNG closed 7 years ago

aW4KeNiNG commented 7 years ago

The "SCROLL_STOP" event should dispatch when the inertia is finished.

For example, you have a list of thumbnails and you want to load the thumbnails in screen when the SCROLL_STOP is dispatched.

ianharrigan commented 7 years ago

Hi,

There is no _intertialScrolling flag in ScrollView at the moment, so you might have missed a commit where that is created? (Or maybe im being dumb and cant see it).

Also, the other issue is that this is only for openfl... ie, addEventListener will break on pretty much all other backends.

ianharrigan commented 7 years ago

haha... sorry... i understand this is haxeui1... doh!