I’m making a scrollable waiver with lots of text that has a button at the bottom.
I created a text element and set the Content Overflow to Scrollbars. I need the button to be at the bottom of the text, but can’t find the simple way to get it in there.
If you add both the text and the button to a group, and set the group to have content overflow as ‘Scrollbars’ you can get this same effect on multiple elements. Make sure you remove content overflow from the text if you do this.
On iOS the scrollbox doesn’t scroll up past what is first seen - and therefore won’t reveal the button I put at the bottom. How can I get a text scrollbox to work on iOS?
The issue on iOS is that the scroll events are going to your HTML Widget (iframe) and not the group, thus since the iframe is fully sized you’re just getting the elastic bounce back.
In theory you could choose “Ignore all pointer events” in the Actions inspector for the HTML Widget, but then that does not seem to have momentum scrolling.
It would probably be better to use the Inner HTML of a Rectangle element instead for your scroll view. This means you can’t use document.write, but you can use other methods to dynamically change contents if you need. Otherwise, you might be able to make your own <iframe> element with the scrolling="no" attribute, but that is just a guess as to if it works.
I got scared because I need to use document.write to change the text and I don’t know how to do that in a rectangle. Ignoring pointer events did the trick for the HTML widget since I don’t care about momentum scrolling.
Hype is for me because I want great results but I’m not a great programmer!