Skip to content

feat: Add autoScrollThreshold prop#144

Open
Mohit-Davar wants to merge 1 commit intocompulim:mainfrom
Mohit-Davar:feat/auto-scroll-threshold
Open

feat: Add autoScrollThreshold prop#144
Mohit-Davar wants to merge 1 commit intocompulim:mainfrom
Mohit-Davar:feat/auto-scroll-threshold

Conversation

@Mohit-Davar
Copy link

Summary

This PR adds a new autoScrollThreshold prop to the ScrollToBottom component. It allows consumers to configure the distance from the bottom (in pixels) within which the list remains “sticky” (auto-scrolling) when new content is added. The default threshold is preserved at 1px to maintain backward compatibility.

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.

1 participant