BUG: The infinite canvas is increasing its height infinitely when there is an element with a min-height of 100vh
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Arc version 1.29.0 (46113)
Reproducible demo link
https://grapesjs-react-custom-ui-vrkhwc.stackblitz.io
Describe the bug
How to reproduce the bug?
- Enable inifinite canvas
- Add at least two components to the canvas
- Set a min-height of 100vh for one of them
What is the expected behavior? The height of the canvas should not increase infinitely.
What is the current behavior? The canvas height is increasing infinitely.
The most straightforward method to set the min-height in this demo is using the inspector. The same error occurs when attempting to configure it through GrapesJS.
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (1)
Avoid using infinite canvas as it was never documented and not even finished as a feature.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4323
BUG: Performance issue while dragging component to canvas when you have 2k component on canvas
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Google Chrome Version 101.0.4951.41 (Officia...
Issue #5990
BUG: When you delete a component, duplicate classes between components will be deleted.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 126.0.6478.127(Windows) Reproducibl...
Issue #3873
BUG: Duplicated video block when re-attaching GrapesJs editor to document
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v94 Reproducible demo link https://...
Issue #5263
BUG: Deleting a component without deleting its corresponding style, will adding new components later cause style conflicts?
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? latest version of Chrome Reproducible demo...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.