Dragging scrollbar on FormTokenField
suggestions list does not work
#50514
Labels
[Feature] UI Components
Impacts or related to the UI component system
[Package] Components
/packages/components
[Type] Bug
An existing feature does not function as intended
Description
When adding
<FormTokenField />
component with__experimentalExpandOnFocus
prop, and add enough number of suggestions that makes the list scrolled, while scrolling functionality works fine by mousewheel, It does not work when dragging the scrollbar or clicking the up/down scroll arrows (In microsoft Windows), the scrollbar doesn't move and if you already have scrolled with mouse wheel it will jump to the beginning of the list.Also reproducible in StoryBook: https://wordpress.github.io/gutenberg/?path=/docs/components-formtokenfield--dropdown-selector
Step-by-step reproduction instructions
<FormTokenField />
with__experimentalExpandOnFocus
enabled.Screenshots, screen recording, code snippet
this behavior can be seen in this recorded screencast.
Screen.Recording.2023-05-10.at.3.57.57.PM.mov
However this will work fine If you type something in the search input and the list focus gets locked.
Screen.Recording.2023-05-10.at.4.03.00.PM.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: