Skip to content

Investigate state sync issues with interactive UI #3019

@FrederikBolding

Description

@FrederikBolding

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions