Skip to content

[BreadcrumbsCollapse] Page scrolling down on Space press when button is in focus #19783

@captain-yossarian

Description

@captain-yossarian
  • The issue will appear after this PR
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Page is scrolling down, when ButtonBase component is in focus and Space bar is pressed

Expected Behavior 🤔

Page should not scroll at all

Steps to Reproduce 🕹

Steps:

  1. Go to Collapsed breadcrumbs - docs
  2. Press inside rectangle
    material1
  3. Press twice "Tab"
    Expand button (the one with 3 dots) should be in focus
    material2
  4. Press "Space"

Context 🔦

This PR should be merged after #19724
Please see this comment

Your Environment 🌎

Tech Version
Material-UI v4.?.?
React 16
Browser Chrome
TypeScript
etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions