Hi all,
Seeing a couple of issues with Mobile App screen Load event handler.
-
It seems to work the exact same as the unload event handler: it triggers both when coming from the screen with the event handler, and moving to that screen.
-
It does not trigger when moving from all screens: In the template mobile app Retool provides, if "peopleListScreen" has a Load event handler, it is only called when moving between the "peopleListScreen" and "myProfileScreen". It does not trigger when moving between "peopleDetails".
-
It doesn't wait until loading to do things: If you set a Text component onto a screen and attempt to change it with a Load event handler, the component will be out of scope when the call is activated. This impacts retoolContext as well, where the currentScreen is the screen that's being left, instead of the one that's being navigated to.
Creating a mobile app and adding a Load Event handler to any of the screens works to recreate. Not positive all of these are bugs, but they're not really what I expected from the event handler.
Thanks,