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

Use React 18 renderer and fix empty cell bug #138

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

axelboc
Copy link
Contributor

@axelboc axelboc commented Jun 27, 2024

Issue

  1. Render H5Web in a cell
  2. Save the notebook
  3. Reload or re-open the notebook

image

image

Fix

The TwoRenderApp was supposed to fix this empty-cell bug, but it wasn't robust to fix the reload use case above. I'm replacing it with a solution that consists in waiting until the cell has non-empty dimensions before rendering H5Web.

image

@axelboc axelboc requested a review from loichuder June 27, 2024 12:49
Copy link
Member

@loichuder loichuder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really improves things when someone with actual skills takes care of the fixes 🤣

Happy to see TwoRenderApp go 🎉

@axelboc axelboc merged commit b792fd2 into main Jun 27, 2024
1 check passed
@axelboc axelboc deleted the fix-empty-cell branch June 27, 2024 13:04
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.

2 participants