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

[Frontend, Forms] Visual flashing bug #1146

Open
1 of 3 tasks
igalakhov opened this issue Aug 30, 2021 · 0 comments
Open
1 of 3 tasks

[Frontend, Forms] Visual flashing bug #1146

igalakhov opened this issue Aug 30, 2021 · 0 comments

Comments

@igalakhov
Copy link
Contributor

igalakhov commented Aug 30, 2021

Description

Switching between tabs in a form causes visible flashing.

Location

  • Browser
  • CLI
  • API

Steps to reproduce

  1. Find any part of the dashboard that uses PorterForm (for example, expanded chart)
  2. Quickly switch between tabs

Additional Details

This happens because when a form component is rendered for the first time, the form provides its state as null, which causes it to not render. A fix should put in placeholder components instead of not rendering anything.

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

1 participant