Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: UI doesn’t update while watching local storage values #1529

Closed
Assignees
raheeliftikhar5iamfaran
Labels
ComponentsDedicated to Frontend Visual ComponentsJavascript FrontendPull requests that update Javascript code
@rjamesnw

Description

@rjamesnw

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

  1. 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.
  2. Make another app with a login screen that, upon clicking the login button, callslocalstorage.setValue (‘pageId’) and sets the ID of a landing page.
  3. Make a landing page app for after login.
  4. 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

Labels

ComponentsDedicated to Frontend Visual ComponentsJavascript FrontendPull requests that update Javascript code

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp