---
title: "Discussion on \"useAutoScroll custom hook in Reactjs\" | Hashnode"
description: "Discussion on \"useAutoScroll custom hook in Reactjs\". Introduction\nYou might have seen on streaming platforms such as youtube.com or twitch.com where there are live chat feeds, whenever a new chat comes, mainly two things happen:1. Auto-scrolls at the bottom2. If a user scrolls the feed on the top then ..."
url: "https://hashnode.com/posts/useautoscroll-custom-hook-in-reactjs/64f2046a314d97597ae53059"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [useAutoScroll custom hook in Reactjs](https://rohanmathur.hashnode.dev/useautoscroll-custom-hook-in-reactjs?utm_source=hashnode&utm_medium=feed)

Introduction You might have seen on streaming platforms such as youtube.com or twitch.com where there are live chat feeds, whenever a new chat comes, mainly two things happen:1. Auto-scrolls at the bottom2. If a user scrolls the feed on the top then ...

Sep 1, 2023 · 4 min read · rohanmathur.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#custom-hooks](https://hashnode.com/tag/custom-hooks)
-   [#html5](https://hashnode.com/tag/html5)
-   [#hooks](https://hashnode.com/tag/hooks)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Rohan Mathur](https://hashnode.com/@rohanmathur)

@rohanmathur · India

  
[View profile](https://hashnode.com/@rohanmathur)

Software Development Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
