Skip to content

Conversation

@Alexander-Ordina
Copy link
Contributor

On iOS when pulling the page down from either the chat header or the message area the page will have a scroll bounce. This is unwanted behavior since this will break the illusion that the chatbox is contained inside the app.

To prevent this I have disabled the scrolling for the wrapper by setting the overflow to hidden for the html/body.

To fully prevent this behavior it is also necessary to disable the scrolling inside the iframe used to contain the chat. This can be done by adding the following css to the theme used by your app in the theme editor.

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

For our project I added this part to the css of the ChatHeader in the theme

…tml / body of wrapper page which causes a unwanted scroll bounce on IOS when pulling the page down from either the chat header or the message area
@bugnano
Copy link
Collaborator

bugnano commented Sep 28, 2022

In order to be able to accept any PR and merge it, we require that every contributor has signed a CLA beforehand.
Please sign either the Individual or the Corporate CLA that you find in this repository, and email it to legal@talkjs.com

@Alexander-Ordina
Copy link
Contributor Author

Hi @bugnano I just got confirmation that the CLA is signed and send to your legal department.

@bugnano bugnano merged commit b59dc43 into talkjs:main Oct 19, 2022
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

Successfully merging this pull request may close these issues.

2 participants