Skip to content

Conversation

@ling1726
Copy link
Contributor

Fixes regression from #28530

The contextMenuProps aren't really for just the context menu but common props for all menus fter the
refactor in #25044. We should probably revisit the menu trigger code and clean it up but this fix is more urgent

Fixes regression from microsoft#28530

The `contextMenuProps` aren't really for just the context menu but
common props for all menus fter the
refactor in microsoft#25044. We should probably revisit the menu trigger code and
clean it up but this fix is more urgent
@ling1726 ling1726 marked this pull request as ready for review September 26, 2023 07:37
@ling1726 ling1726 requested a review from a team as a code owner September 26, 2023 07:37
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 26, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b92fd5d:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 26, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
InfoButton mount 12 12 5000 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 642 656 5000
Button mount 331 333 5000
Field mount 1156 1125 5000
FluentProvider mount 721 711 5000
FluentProviderWithTheme mount 95 116 10
FluentProviderWithTheme virtual-rerender 80 81 10
FluentProviderWithTheme virtual-rerender-with-unmount 93 99 10
InfoButton mount 12 12 5000 Possible regression
MakeStyles mount 869 873 50000
Persona mount 1877 1751 5000
SpinButton mount 1457 1440 5000

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-menu
Menu (including children components)
140.184 kB
43.176 kB
140.184 kB
43.178 kB

2 B
react-menu
Menu (including selectable components)
142.92 kB
43.714 kB
142.92 kB
43.715 kB

1 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
69.572 kB
19.658 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
208.688 kB
59.552 kB
react-components
react-components: FluentProvider & webLightTheme
40.966 kB
13.569 kB
react-portal-compat
PortalCompatProvider
6.541 kB
2.227 kB
🤖 This report was generated against b11ab1c1968c8317cb6262b6c5f51cf6d41662fe

@size-auditor
Copy link

size-auditor bot commented Sep 26, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: b11ab1c1968c8317cb6262b6c5f51cf6d41662fe (build)

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@ling1726 ling1726 merged commit 5a4c02b into microsoft:master Sep 26, 2023
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.

3 participants