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

Do not destroy rendered contents on addon tab changes #157

Merged
merged 1 commit into from
Jun 18, 2022

Conversation

pocka
Copy link
Collaborator

@pocka pocka commented Jun 16, 2022

Refer to the code comments and the commit comment for details.

close #153

Almost all of embed-type this addon supports take a few seconds to load.
The problem is, when a user moves to another addon tab then returns to
a "Design" tab, the tab contents restarts the whole rendering process
including network access. In order to eliminate this unnecessary
loading, I changed the panel rendering so it remains on DOM once after a
user enters the "Design" tab on the story.

#153
@pocka pocka self-assigned this Jun 16, 2022
@pocka pocka merged commit b4aa302 into master Jun 18, 2022
@pocka pocka deleted the feature/persistent-addon-panel branch June 18, 2022 05:39
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

Successfully merging this pull request may close these issues.

Retain loaded design tab contents per story
1 participant