Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First message scrolls out of sight on mobile if URL bar is open #43

Open
TimDuschenes opened this issue Feb 9, 2023 · 0 comments
Open

Comments

@TimDuschenes
Copy link

First message scrolls out of sight on mobile.

I think this is being caused the interaction of two things:

  1. vh ignores whether the URL bar of the browser is minimized or not, so the page is too tall if the bar is open
  2. After each message is sent, the main section scrolls all the way to the bottom so you can see the new message

Is there a way to prevent this happening?
To see the issue in action, visit https://timduschenes.com/ChatBotv2.html on mobile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant