Upvote 1

Make out-of-bounds objects come to screen on tap

Solved Benjamin Smrdelj 5 years ago

Well, that title was a pain to come up with..

Anyways my problem is quite simple really. I have a main screen with a few tiles, which can be scrolled:

1ba66fd6cfea10a492c7ee1a9ed6a5db

As you can see, in the picture above the first two tiles can go behind the main title bar. The tiles are supposed to expand when we tap on them (and link to another screen with a second tap). The issue here is that I can't find a way to scroll the tiles panel so that the first button comes back to the original position. For example - this is what happens:

2ec185e41a4be7bf5e6f7f460666c7bf

Whereas the desired result is this:

fc2d7091c2252b96f3b4123fd54d2516

Does anyone know a way this could be implemented? I've tried it with "scroll-to" on tap but of course it doesn't respect the upper margin because of the title bar.

Any help is much appreciated!


Best regards

Benjamin

Best Answer
photo

You can add a 'hotspot' on top of the button and use the 'scroll to' option on that hotspot instead of the button.

Replies (1)
photo
1

You can add a 'hotspot' on top of the button and use the 'scroll to' option on that hotspot instead of the button.

photo
1

Thank you, it works of course! :) I've actually tried doing it with hotspots before, I just didn't think to put them a few dozen pixels above the button (so the tile window automatically scrolls up as much as it can).

photo
Leave a Comment
 
Attach a file