![]() ![]() However, because of scroll chaining, the document starts scrolling as soon as the user hits the last message in the chat history.įor this app, it's more appropriate to have scrolls that originate within the chatbox stay within the chat. The intention is that the chatbox is a self-contained component and that it scrolls separately from the content behind it. # Prevent scrolls from escaping a fixed position element # The chatbox scenario Content beneath the chat window scrolls too :(Ĭonsider a fixed positioned chatbox that sits at the bottom of the page. Let's dive into some examples to see how to use overscroll-behavior. Overscroll-behavior also supports shorthands for overscroll-behavior-x and overscroll-behavior-y if you only want to define behaviors for a certain axis. Android overscroll glow or iOS rubberbanding).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |