-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.Related to the layout category, which is about composing, positioning, etc.
Description
Description
Consider the following piece of code:
#v(15cm)
#context block(sticky: true)[I should stick to the rectangle.]
#rect(height: 10cm, width: 1cm, fill: gray)The sticky block sticks to the rectangle as expected, even though it is within a context block.
Now, replace context with a call to layout:
#v(15cm)
#layout(_ => block(sticky: true)[I should stick to the rectangle.])
#rect(height: 10cm, width: 1cm, fill: gray)This time, the sticky block appears alone on the first page.
Reproduction URL
No response
Operating system
No response
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.Related to the layout category, which is about composing, positioning, etc.