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

Flickering "[object Object]" in JoinSubmissionPane #1257

Open
richardolsson opened this issue Mar 10, 2021 · 0 comments
Open

Flickering "[object Object]" in JoinSubmissionPane #1257

richardolsson opened this issue Mar 10, 2021 · 0 comments
Assignees
Labels

Comments

@richardolsson
Copy link
Member

richardolsson commented Mar 10, 2021

As the data is coming in when opening the JoinSubmissionPane for the first time after refresh, there is a quick flicker of "[object Object]" in the list of fields. This is probably happening because there is a custom field of type JSON, and it's not being excluded until the field types have loaded and the pane logic realizes that it should not be included in the render (because of it's JSON type).

It can be seen by opening the pane and then skipping back in the Redux state history:

image

One solution would be to render nothing until the field types have loaded.

Another solution would be to initially not render fields for which the value is not a string, until the correct type and render formatting can be determined.

@niklasva82 niklasva82 self-assigned this Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants