Skip to content
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
This repository was archived by the owner on Aug 28, 2026. It is now read-only.

Adding scroll bar functionality to the teams channel picker component dropdown flickers when I scroll it via the scroll buttons. #3446

Description

Description:
Adding scroll bar functionality to the teams channel picker component dropdown flickers when I scroll it via the scroll buttons.

Please see the link below:
Stackblitz repo: https://stackblitz.com/edit/zunetukg?file=src%2FApp.tsx,src%2Fteams-channel-picker.ts,src%2Fmain.css
Steps:

  1. Expand the dropdown
  2. Expand some teams to see the scrollbar visible on the right.
  3. Click on the arrow button on the scroll bar.

Current behaviour
After adding a scrollbar to the treeview element, I can see the scrollbar visible and I can scroll it without any issues using the mouse scroll wheel. But when I use the scroll up/down buttons, the scrollbar flickers and always tries to move to the top.

Expected behavior
The scroll buttons should work correctly.

Also are there any plans of adding a scrollbar to the channel picker dropdown?

Environment

  • OS: Window 11
  • Browser: Edge
  • Framework: React
  • Context: Teams Channel Picker, MS Teams
  • Provider: Msal2Provider

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions