Skip to content

Text "reveal" can cause confusing jumps #5

Open
@hyanwong

Description

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.

Screenshot 2024-04-17 at 12 44 01

then

Screenshot 2024-04-17 at 12 44 38

Or

Screenshot 2024-04-17 at 12 45 32

Then

Screenshot 2024-04-17 at 12 45 59

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions