GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.36k stars 4.05k forks source link

BUG: = #5700

Closed upadhyay8844 closed 7 months ago

upadhyay8844 commented 7 months ago

GrapesJS version

What browser are you using?

chrome

Reproducible demo link

Cannot provide it data is sensitive

Describe the bug

How to reproduce the bug?

  1. Drop a page in the editor/Canvas.
  2. Set height for ex- 600pt and also give padding of 10 pt to all 4 sides.
  3. Now drop two sections inside page.
  4. set min-height to one section lets' say of 30pt and height- to another section.
  5. Now the section with 100% height overlaps the page/Parent

What is the expected behavior? The section should not overlap the page it should only go till the space available in the parent inclusive of padding-margins etc.

What is the current behavior? ...it is overlapping the page

If is necessary to execute some code in order to reproduce the bug, paste it here below:

// your code here

Code of Conduct

upadhyay8844 commented 7 months ago

@artf can you please have a look at it ?