Skip to content

fix: ToolbarToggleButton should not follow Toolbar size#27797

Merged
ling1726 merged 3 commits into
microsoft:masterfrom
ling1726:fix/react-toolbar/toggle-button-size
May 11, 2023
Merged

fix: ToolbarToggleButton should not follow Toolbar size#27797
ling1726 merged 3 commits into
microsoft:masterfrom
ling1726:fix/react-toolbar/toggle-button-size

Conversation

@ling1726

@ling1726 ling1726 commented May 9, 2023

Copy link
Copy Markdown
Contributor

Fixes a bug where the Toolbar size was being pased to the ToggleButton

Before
image

After
image

Fixes a bug where the Toolbar size was being pased to the ToggleButton
@codesandbox-ci

codesandbox-ci Bot commented May 9, 2023

Copy link
Copy Markdown

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 7f7435a:

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

@size-auditor

size-auditor Bot commented May 9, 2023

Copy link
Copy Markdown

Asset size changes

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

Baseline commit: 27f252e27361df75a94c5bc5b09fc0097fefd969 (build)

@fabricteam

fabricteam commented May 9, 2023

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
64.855 kB
17.852 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
203.885 kB
57.081 kB
react-components
react-components: FluentProvider & webLightTheme
36.086 kB
11.9 kB
react-portal-compat
PortalCompatProvider
6.446 kB
2.186 kB
🤖 This report was generated against 27f252e27361df75a94c5bc5b09fc0097fefd969

@fabricteam

fabricteam commented May 9, 2023

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-components)

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

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 732 705 5000
Button mount 399 403 5000
Field mount 1249 1210 5000
FluentProvider mount 797 792 5000
FluentProviderWithTheme mount 112 116 10
FluentProviderWithTheme virtual-rerender 99 101 10
FluentProviderWithTheme virtual-rerender-with-unmount 110 109 10
InfoButton mount 17 16 5000 Possible regression
MakeStyles mount 1158 1167 50000
Persona mount 1937 1881 5000
SpinButton mount 1479 1487 5000

@ling1726
ling1726 marked this pull request as ready for review May 9, 2023 10:12
@ling1726
ling1726 requested review from a team and chpalac as code owners May 9, 2023 10:12
@ling1726
ling1726 merged commit 381cc2d into microsoft:master May 11, 2023
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request May 12, 2023
* feat/drawer-header:
  feat: Update existing toasts (microsoft#27827)
  bugfix: fix horizontal overflow on tree (microsoft#27825)
  feat: Allow toast options to be configured from the toaster (microsoft#27820)
  feat: creates TreeItemAside component (microsoft#27701)
  fix: generate API
  fix: use composition to build DrawerHeaderTitle
  Virtualizer: Dynamic scroll view and optimizations (microsoft#27298)
  bugfix(react-dialog): change DialogTitle default action icon size (microsoft#27815)
  feat: Implement Toast pause (microsoft#27811)
  fix: ToolbarToggleButton should not follow Toolbar size (microsoft#27797)
  feat: defers useControllableState state to initializer method (microsoft#27717)
  feat: Implement toast dismiss (microsoft#27810)
@msft-fluent-ui-bot

Copy link
Copy Markdown
Collaborator

🎉@fluentui/react-toolbar@v9.1.12 has been released which incorporates this pull request.:tada:

Handy links:

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.

5 participants