Skip to content

[Bug]: Primary button's width changes when hovered/active #25053

@sopranopillow

Description

@sopranopillow

Library

React / v8 (@fluentui/react)

System Info

System:
    OS: Linux 5.10 Ubuntu 20.04 LTS (Focal Fossa)
    CPU: (20) x64 Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
    Memory: 30.53 GB / 62.67 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Browsers:
    Firefox: 104.0

Are you reporting Accessibility issue?

No response

Reproduction

v8's codepen

Bug Description

Actual Behavior

Default state:
image

Active/hovered:
image

Expected Behavior

Primary button should not change width when active/hovered.

Logs

No response

Requested priority

Low

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions