ScrollHandler: Handle the scroll of Scroll Views

The keyboard will normally show when a textbox gets focus. use that event.

read documentation for the extension to understand what is needed to scroll to the end of an arrangement.

Up --> 33
Down --> 130
Right --> 66
Left --> 17

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 :slightly_smiling_face:

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

13 posts were split to a new topic: Scroll by 4, Keeping Alignment

A workaround that works for me is this:

where 50 is the height of the created component (it can be larger than that...)

1 Like

I can't find the "when VReachBottom" block, was it removed?

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?

image

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.

1 Like