lightning-js / renderer

Lightning 3 Renderer
Apache License 2.0
57 stars 23 forks source link

Dynamic bounds margin #428

Open wouterlucas opened 3 weeks ago

wouterlucas commented 3 weeks ago

Currently the bounds margin is created on the stage and passed down on every node, we'll want to expose a method/props to dynamically set the bounds margin area per node

Drulokia commented 3 days ago

If a bounds margin is set on a node, should its children take the boundsmargin from the parent or still like now from the stage if the childrens don't have a boundsmargin set?

elsassph commented 3 days ago

Maybe worth describing the use case. If the goal is to activate a component off screen, you probably want the custom bounds to be inherited