microsoft / microsoft/BotFramework-WebChat
Clicking on 'New message' always scrolls to bottom of the most recent card. It should be customizable
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem?
yes. When clicking on the 'New message' button, the windows always scrolls to the bottom of the latest chat.
It would be of great help if this behaviour is customizable
Describe the suggestion or request in detail
This behaviour should be customizable, as in the dev can control the scroll position to either top or bottom of the intented target.
Describe alternatives you have considered
No response
Additional context
No response
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 with packages/component/src/Utils/scrollIntoViewWithBlockNearest.ts at the referenced line and trace where the New message button invokes it. Determine how the target scroll position can be exposed to developers, then verify that both top and bottom behavior work for the intended target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100