Skip to content

feat: modules & html viewer dynamic height#16807

Open
shaurya-sharma064 wants to merge 3 commits into
perf/store-batching-ltsfrom
feat/modules-dynamic-height
Open

feat: modules & html viewer dynamic height#16807
shaurya-sharma064 wants to merge 3 commits into
perf/store-batching-ltsfrom
feat/modules-dynamic-height

Conversation

@shaurya-sharma064

@shaurya-sharma064 shaurya-sharma064 commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

…moduleViewer

This update introduces new properties for dynamic height and collapse when hidden in both moduleContainer and moduleViewer configurations. Additionally, the appCanvasUtils has been enhanced to support these properties, ensuring that the instance defaults are correctly applied. The WidgetWrapper has also been updated to include 'ModuleViewer' in the dynamic height auto list. This change improves the flexibility and usability of the module components.
@netlify

netlify Bot commented Jun 11, 2026

Copy link
Copy Markdown

Deploy Preview for storybook-tooljet failed.

Name Link
🔨 Latest commit 1caf22a
🔍 Latest deploy log https://app.netlify.com/projects/storybook-tooljet/deploys/6a2b2b05be545d00076dfffd

@shaurya-sharma064 shaurya-sharma064 changed the base branch from lts-3.16 to perf/store-batching-lts June 12, 2026 03:59
@shaurya-sharma064 shaurya-sharma064 changed the title feat: modules dynamic height feat: modules & html viewer dynamic height Jun 12, 2026
…namic height handling

This update modifies the dynamic height reflow mechanism by replacing the adjustComponentPositions function with scheduleReflow, which batches reflow requests for improved performance. The changes are reflected across multiple components, including RenderWidget and ModalV2, enhancing the efficiency of layout adjustments during widget size changes.
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.

1 participant