Hi can I pm you? I want to send the apk file to you so you can help see what the problem is.
I am creating a sort of chat function. I want that every time I send a new message or when there is a new message, the scroll arrangement automatically scrolls to the bottom using the scrollhandler extension. All the items in the scroll arrangement are made using dynamic components. I added vfullscroll: 130 under the create component script to do that. However, every time it vfullscrolls, it scrolls to the second last item, like the new dynamic component item is created after the scrolling. How should I fix it?
Use SmoothScrollTo block with sX = 0 , sY = VMaxScroll and hScrollView = false
still it scrolls to the second last item, as if the scrolling happens before a new component is added
It is obvious that you have to scroll after adding new component
Yea that's what I did in the script, but it seems like when the vfullscroll occurred, it scrolls to the second last item which looks like it occurred before a new item is added
can I pm you so I can show you the app and you can see what I mean
Sure, you can PM me.
did you read the pm
A workaround that works for me is this:
where 50 is the height of the created component (it can be larger than that...)
Yes
It is not in the most recent release
Then how can I fire an event when a user hits the bottom of a vertical scroll arrangement?
I tried doing it this way but it doesn't work
Is it because I'm using Kodular? I got the extension from here btw, as the download link on sunnythedeveloper.in doesn't work. It's probably not the newest version
You could try this extension instead ?
Check on GitHub repository. Latest version should be there.
Updated aix on Github.
download link : This page doesn't seem to exist
Check on github: