PageBreak component not working after Anvil update

The PageBreak component from Anvil extras doesn’t work today.

I just created a minimal app to test it and the resulting pdf has only one page:
https://anvil.works/build#clone:E4B5AXV44J3HFUS6=4UXPKO6I4QBEPGLWWBIJJZCW

EDIT
If I change the definition of the PageBreak on my local clone of Anvil extras and add a Label without text, then it works, but yesterday it was working without adding anything.

Thanks for reporting! If possible, though, please report Anvil Extras bugs/requests as an Issue on the GitHub page: https://github.com/anvilistas/anvil-extras

1 Like

I reported it here because I think this is a problem with Anvil, not with the custom component.

The component was working yesterday and today is broken. It looks like something has changed on the Anvil side on how the component is rendered.

2 Likes

This turns out to be a bug in anvil-extras, which only came to light after a recent update to Anvil.

I’ve raised an issue in anvil-extras and we’ll get that fixed in the next release.

2 Likes