Skip to content

Conversation

@marcosmoura
Copy link
Contributor

Previous Behavior

In the last release, the Drawer got on a huge code refactor and one property was missing after that (mountNode).

New Behavior

Restores the property by synchronizing with the Dialog component props

Related Issue(s)

@marcosmoura marcosmoura requested a review from a team as a code owner October 13, 2023 09:26
@marcosmoura marcosmoura self-assigned this Oct 13, 2023
@marcosmoura marcosmoura added Type: Bug 🐛 Component: Drawer The Fluent v9 Drawer component labels Oct 13, 2023
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 13, 2023

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 615 647 5000
Button mount 311 329 5000
Field mount 1161 1123 5000
FluentProvider mount 715 697 5000
FluentProviderWithTheme mount 79 85 10
FluentProviderWithTheme virtual-rerender 68 63 10
FluentProviderWithTheme virtual-rerender-with-unmount 72 80 10
InfoButton mount 13 11 5000
MakeStyles mount 862 862 50000
Persona mount 1769 1742 5000
SpinButton mount 1359 1385 5000

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 13, 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 1a0a585:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration
keen-frost-pzw2ry Issue #29515

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 13, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
69.858 kB
20.137 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
207.606 kB
59.685 kB
react-components
react-components: FluentProvider & webLightTheme
42.142 kB
13.97 kB
react-portal-compat
PortalCompatProvider
6.503 kB
2.22 kB
🤖 This report was generated against 28adeae63d705f0be6bce291738dad7fe586e9a8

@size-auditor
Copy link

size-auditor bot commented Oct 13, 2023

Asset size changes

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

Baseline commit: 28adeae63d705f0be6bce291738dad7fe586e9a8 (build)

@marcosmoura marcosmoura changed the title fix(react-drawer): regression with mountNode prop not available after refactor fix(react-drawer): regression with mountNode prop not available after refactoring Oct 13, 2023
@marcosmoura marcosmoura enabled auto-merge (squash) October 13, 2023 11:13
@marcosmoura marcosmoura merged commit 601e932 into microsoft:master Oct 24, 2023
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 24, 2023
* master: (48 commits)
  fix(react-drawer): regression with mountNode prop not available after refactoring (microsoft#29524)
  feat(react-storybook-addon-codesandbox): support various providers for "export to" functionality (microsoft#29536)
  feat(TimePicker-compat): call onTimeSelect on blur (microsoft#29597)
  feat: (breadcrumb) Removed appearance prop (microsoft#29554)
  chore(deps): bump fsevents from 1.2.9 to 1.2.13 (microsoft#29476)
  Adding comment in Hovercard that we support cumulative area chart currently (microsoft#29395)
  applying package updates
  applying package updates
  chore(vr-tests-react-components, perf-tests-app): Remove infobutton from vr-tests and perf test app (microsoft#29603)
  docs: Add guidance for modifying textarea's height. (microsoft#29601)
  fix(react-calendar-compat): Classnames removed and added to day cells need to be split instead of providing a string with spaces (microsoft#29611)
  [Part 2] Changes to onboard charting to fluent docsite (microsoft#29608)
  chore: bump jest to 29.7.0 (microsoft#29298)
  applying package updates
  feat(react-infolabel, react-components): Release InfoLabel to stable (microsoft#29585)
  feat(react-datepicker-compat): Update DatePicker to use react-calendar-compat (microsoft#29587)
  feat: adds motion to DialogSurface (microsoft#29391)
  fix: Use correct target windows for ResizeObserver (microsoft#29551)
  chg (microsoft#29592)
  Fix missing x callout custom callout (microsoft#29547)
  ...
@marcosmoura marcosmoura deleted the fix/react-drawer/regression-with-mountNode-prop branch November 15, 2023 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Drawer The Fluent v9 Drawer component Type: Bug 🐛

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Regression - mountNode not available

4 participants