Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on 'New message' always scrolls to bottom of the most recent card. It should be customizable #5119

Open
swarnava112 opened this issue Apr 4, 2024 · 1 comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Required for internal Azure reporting. Do not delete. feature-request Azure report label

Comments

@swarnava112
Copy link

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

export default function scrollIntoViewWithBlockNearest(targetElement: HTMLElement): void {

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

@swarnava112 swarnava112 added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Required for internal Azure reporting. Do not delete. feature-request Azure report label labels Apr 4, 2024
@compulim
Copy link
Contributor

compulim commented Apr 8, 2024

Interesting.

image

Yes, it seems the button will always scroll to end (scrollToEnd({ behavior: 'smooth' })). I remember we have something called "unread activity" and we should be able to customize the behavior to scroll to that activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Required for internal Azure reporting. Do not delete. feature-request Azure report label
Projects
None yet
Development

No branches or pull requests

2 participants