-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Library
React Components / v9 (@fluentui/react-components)
System Info
System:
OS: Windows 10 10.0.22621
CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
Memory: 19.87 GB / 31.60 GB
Browsers:
Edge: Chromium (117.0.2045.60)
Internet Explorer: 11.0.22621.1Are you reporting Accessibility issue?
no
Reproduction
https://codesandbox.io/s/modest-alex-z8gh3x
You will notice that there is not mountNode option in the intelisense.
Bug Description
Actual Behavior
Mount Node is no longer available on the Preview Drawer component.
You can see this when running the build command in your project with a mountNode on a DrawerOverlay component.
VS Code also complains that the property isn't available.
Expected Behavior
The mountNode property is still available to use in development so that targeting the node can be done for stuff like custom styling or behaviors.
9.34.2 (maybe 9.34.3?) changed this by changing the behavior to internal with PR#29392.
The mount node should still be exposed so that customization is possible with the node.
This issue didn't exist in 9.34.1.
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.