Dynamic content being vertically cut off

I’ve been using jsPdf to generate a pdf with dynamic content. What I do is go through all the forms I have and print the answers and questions.
Unfortunately when the content does not vertically fit the page it gets cut off instead of continuing in the next page.
How should I fix this?