Description
When using a pager with two pages, the left page adjusts to the height of the right page, while the left page does not adjusts to the right page and has the height of its content.
Steps to reproduce
Download the attached project, open and run it in Android Studio
On the Left page click 3 times on the "click me" button, scrolling as necessary
Switch to the Right tab
Notice that Pager has adjusted its height to the height of the Right page
While on the Right tab, press the "click me" button 6 times, scrolling as necessary
Switch to the Left tab
Observed behavior
Pager does not adjust its height to the size of the Left page and instead stays at the height of the Right page
Expected behavior
Pager adjusts its height to the size of the page it has switched to.
Description When using a pager with two pages, the left page adjusts to the height of the right page, while the left page does not adjusts to the right page and has the height of its content.
Steps to reproduce
Observed behavior Pager does not adjust its height to the size of the Left page and instead stays at the height of the Right page
Expected behavior Pager adjusts its height to the size of the page it has switched to.
Additional context Exapmle app with short video https://github.com/ZiMax07/Pager