Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
An app with a page layout that uses an app ID to load a nested app does not update in the case where the parent app data responder is watching a localstorage value updated by the nested app.
Expected Behavior
The data responder in the parent app triggers as expected.
Steps to reproduce
- Make an app with a page layout and a Show Login menu button. When clicking the button set the local storage ‘pageId’ value to the login app page.
- Make another app with a login screen that, upon clicking the login button, calls
localstorage.setValue (‘pageId’)
and sets the ID of a landing page. - Make a landing page app for after login.
- Make a data responder on the parent app to watch the localstorage pageId value changes. Upon change the parent app should set the app id in the page layout control to the new value.
It works only in the editor. While testing in preview the parent app never refreshes the sub app when the localhost pageId changes because the data responder fails to trigger. Resizing the page causes it to update as expected.
Environment
Using the latest version on Docker for Windows.
Additional Information
No response
Metadata
Metadata
Assignees
Type
Projects
Status
🆕 New