Working on an update to my Xojo web project and was just doing a test of some changes I made, and I noticed a strange behavior. I have a lengthy Container (height 2145) that is nested within a PagePanel (PP height 760, and Container’s height 700 so it fits inside the PP) on a webpage. Previously, and in my current live app, I am able to scroll all the way to the bottom of the Container, regardless of the small size chosen for the Container to fit onto the page. In my debug app, it seems to only want to scroll as far as the set webpage’s height of 775.
Is there now something different with a webpage containing a PagePanel and a lengthy container inside the PP?
Currently on Xojo 2024 R3. The previous build might’ve been done on 2024 R1 or R2, and it was working then. I didn’t deploy this one yet as I still have some other changes to make
Thanks for pointing that out. I see that’s also an option in R1, but I never had to set it. I see when setting that it does scroll but only within the height/width of the embedded container. If you test this project out in R1, you’ll see you can scroll vertically anywhere on the page (outside the boundaries of the PP and embedded container and not having the scroll setting set). Is this a bug, or was this never meant to work that way prior to R3?
You will need to change the CSS for PP to remove the ‘Overflow: hidden’ and change the ‘Overflow: hidden auto’ for the Container to ‘Overflow: initial’ to match the old behavior.