Is your feature request related to a problem? Please describe.
I usually need a component that, if there is not enough space on a page, it starts on the next page. But that component can span across multiple pages. When I do wrap={false}, it cannot span across multiple pages, it just tries to fit everything in one page.
Describe the solution you'd like
It would be amazing for something like breakWhenNeeded={true} and it does this behaviour.
Describe alternatives you've considered
I used wrap property, but it failed. I also tried minPresenceAhead property, but it does not seem to do anything. I could not figure out how it works.
Additional context
There is a new library for calculating the height of items: https://github.com/chenglou/pretext
Maybe there is a solution to this there.
Also, this could help a lot since sometimes there are problems where at the end, the entire component gets mushed.
Is your feature request related to a problem? Please describe.
I usually need a component that, if there is not enough space on a page, it starts on the next page. But that component can span across multiple pages. When I do wrap={false}, it cannot span across multiple pages, it just tries to fit everything in one page.
Describe the solution you'd like
It would be amazing for something like breakWhenNeeded={true} and it does this behaviour.
Describe alternatives you've considered
I used wrap property, but it failed. I also tried minPresenceAhead property, but it does not seem to do anything. I could not figure out how it works.
Additional context
There is a new library for calculating the height of items: https://github.com/chenglou/pretext
Maybe there is a solution to this there.
Also, this could help a lot since sometimes there are problems where at the end, the entire component gets mushed.