Flyout doesn't size to its content if no width/height is set in first child component #6591
Labels
Area: Flyout
Area: Layout
bug
Partner: Facebook
Recommend: Not Planned
Recommend that issue should be given Not Planned milestone.
Milestone
Environment
npx react-native --version
: 4.13.0npx react-native run-windows --info
:reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock"
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Expected Results
Expected: Flyout width/height is set automatically based on the size of its children.
Actual: Flyout size is set based on where the Flyout is present in the view hierarchy outside of the Flyout.
On Mac we fixed this by correctly resetting the shadow layout context:
The text was updated successfully, but these errors were encountered: