Is it possible to dissable "autoscroll" on addChildAt(item, 0) (like in real chats)?
Example on my prototype - https://www.dropbox.com/s/b81rl6tilc73okh/Video_2020-06-03_003905.gif
Before manualy scrolling - almost looks good. But after scroll - new item moves all others down - not like in real chat.
I try code like this to manually move up all content but it's not work.
_scrollContainer.addChildAt(item, 0);
if(_scrollContainer.viewPort.y < - 50) // if first item not visible
{
var a:DisplayObject = _scrollContainer.getRawChildAt(0);
a.y -= item.height;
}