Open hyanwong opened 2 months ago
the "hidden" sections marked with the css style "visibility: hidden", so that the space is reserved for them
This was very much intentional, so you can see the flight. See https://github.com/OneZoom/OZtree/issues/732
(not saying I disagree with you, mind. I don't like the buttons jumping about on the page, but it's probably a necessary evil)
Ah yes, I can see that's an issue.
The ideal solution would be to position the top of the window as if the full content was there, so that when it expands it does so downwards (making the window longer). But I have a feeling that would be very difficult to accomplish.
In several places on our existing tours, we have a para of text that then gets expanded by adding another para (examples below). This causes a confusing jump in the window position, and it's unclear if you need to read the text again.
I suggest that it's worth having the initial stop containing all the content, but with the "hidden" sections marked with the css style "visibility: hidden", so that the space is reserved for them. Then we switch to "visibility: visible" to continue, so that there's no jump when the reveal happens.
then
Or
Then