Skip to content

Results page scrolls to bottom on load #716

@jaredsavage

Description

@jaredsavage

Issue

When opening the results page, the browser scrolls immediately to the bottom of the page.

Expected

When opening the results page, the browser stays at the top of the content

Notes

Suspect that it's an issue with the configuration of the chatbot at the bottom of the page, and that the autofocus of that text input is causing the page to scroll.

Seems like maybe enableMobileAutoFocus or a similar option of rsc could be involved https://lucasbassetti.com.br/react-simple-chatbot/#/docs/chatbot

Metadata

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