primefaces / primefaces/primereact
ScrollTop: ScrollDown-Option
Open
Nobody has claimed this yet.
Type: Enhancement
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Discussed in https://github.com/orgs/primefaces/discussions/807
Describe the feature you would like to see added
I would like to see an option to set the scroll direction.
Is your feature request related to a problem?
I build a chat app. For that, I need an option to make a scroll-down button. It will be nice, if it is implemented in primereact.
Describe the solution you'd like
<ScrollTop direction={"down"}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ScrollTop component and reviewing how its current scroll direction and props are implemented. Add the requested down-direction behavior without changing the existing default, then verify the component supports the proposed direction option and its relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100