Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react-drawer): add support for mountNode with className #33226

Conversation

marcosmoura
Copy link
Contributor

Previous Behavior

Drawer mountNode prop only accepted HTMLElement as a value.

New Behavior

Drawer mountNode now accepts HTMLElement as well as an object with the { element, className } format


This fixes a regression introduced by the Portal mountNode format being changed.

@marcosmoura marcosmoura requested a review from a team as a code owner November 7, 2024 17:47
@marcosmoura marcosmoura self-assigned this Nov 7, 2024
@marcosmoura marcosmoura added the Component: Drawer The Fluent v9 Drawer component label Nov 7, 2024
Copy link

github-actions bot commented Nov 7, 2024

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-components
react-components: entire library
1.162 MB
290.96 kB
1.162 MB
291 kB
107 B
40 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
69.21 kB
20.174 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
220.616 kB
63.902 kB
react-components
react-components: FluentProvider & webLightTheme
44.447 kB
14.59 kB
react-portal-compat
PortalCompatProvider
8.39 kB
2.64 kB
react-timepicker-compat
TimePicker
107.372 kB
35.755 kB
🤖 This report was generated against d77384f0183852aeb17d3e3fccc9543be041df42

Copy link

github-actions bot commented Nov 7, 2024

Pull request demo site: URL

@marcosmoura marcosmoura enabled auto-merge (squash) November 8, 2024 16:02
@marcosmoura marcosmoura merged commit f429fc5 into microsoft:master Nov 8, 2024
16 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants