Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate state sync issues with interactive UI #3019

Open
FrederikBolding opened this issue Jan 15, 2025 · 0 comments
Open

Investigate state sync issues with interactive UI #3019

FrederikBolding opened this issue Jan 15, 2025 · 0 comments
Assignees

Comments

@FrederikBolding
Copy link
Member

FrederikBolding commented Jan 15, 2025

We've gotten some reports of issues with syncing the state between the SnapInterfaceController and the actual UI causing some input to be lost during re-rendering.

Some of these problems are likely caused by the user is typing into a field while a request to update the UI is being processed. We may want to timestamp the state values to have a way to determine the latest updated value. This would let us choose the proper state value during a React re-render.

There is also seemingly a re-render issue with the Selector that may be related.

See this thread: https://consensys.slack.com/archives/GN3SR3GNM/p1736943242741669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants