react-stay-scrolled
react-stay-scrolled copied to clipboard
React component for keeping components scrolled down
I am building a chat application where the user starts at the bottom of a list of messages and scrolls upward, infinitely loading items which in turn prepends them to...
I've found that `initialScroll: Infinity` doesn't quite work for the very first time my component renders, i.e. after a page refresh. I think what's happening is that, during the very...
If the incoming message contains an image, for example: ```html ``` the `StayScrolled` component doesn't stay scrolled. This is presumably because the image is loaded asynchronously into the dom. Is...
Hi! I noticed a mismatch in the types of the `stayScrolled` function. **Expected** https://github.com/dotcore64/react-stay-scrolled/blob/bef46e1beaba45ed84d7db854fdf0fc4bf19ee8d/README.md?plain=1#L199-L201 **Actual** https://github.com/dotcore64/react-stay-scrolled/blob/bef46e1beaba45ed84d7db854fdf0fc4bf19ee8d/types/index.d.ts#L5
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.6.0. Release notes Sourced from eslint's releases. v9.6.0 Features e2b16e2 feat: Implement feature flags (#18516) (Nicholas C. Zakas) 8824aa1 feat: add ecmaVersion: 2025, parsing duplicate...
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.9.1. Release notes Sourced from eslint's releases. v9.9.1 Bug Fixes 9bde90c fix: add logic to handle fixTypes in lintText() (#18736) (Amaresh S M) Documentation 4840930...