Skip to content

Remove overflow hidden from Button for Win32/Windows#4087

Merged
rurikoaraki merged 4 commits intomicrosoft:mainfrom
rurikoaraki:user/ruaraki/remove_overflow_hidden_button
Apr 15, 2026
Merged

Remove overflow hidden from Button for Win32/Windows#4087
rurikoaraki merged 4 commits intomicrosoft:mainfrom
rurikoaraki:user/ruaraki/remove_overflow_hidden_button

Conversation

@rurikoaraki
Copy link
Copy Markdown
Collaborator

@rurikoaraki rurikoaraki commented Apr 14, 2026

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

Turns out adding overflow hidden to all our Buttons is a perf problem for win32. So removing the property from win32 (and windows, in case they have a similar issue).

Verification

Tested the button in the win32 app. Corners look fine, double focus border also looks fine

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

@rurikoaraki rurikoaraki changed the title Remove overflow hidden from Button for windows Remove overflow hidden from Button for Win32/Windows Apr 14, 2026
Comment thread packages/components/Button/src/Button.styling.ts
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

@rurikoaraki rurikoaraki enabled auto-merge (squash) April 15, 2026 19:00
@rurikoaraki rurikoaraki merged commit 196cbea into microsoft:main Apr 15, 2026
13 of 14 checks passed
@rurikoaraki rurikoaraki deleted the user/ruaraki/remove_overflow_hidden_button branch April 15, 2026 19:52
@rurikoaraki rurikoaraki mentioned this pull request Apr 15, 2026
Saadnajmi added a commit to Saadnajmi/fluentui-react-native that referenced this pull request Apr 16, 2026
The `pr` gate job is the only required status check for merging.
Without `if: always()`, when any dependency job fails, the gate job
gets skipped — and GitHub treats skipped as passing, allowing PRs
with failing checks to be merged (e.g. microsoft#4087).

This adds `if: always()` so the gate job always runs, and an explicit
check that fails the job when any dependency failed or was cancelled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants