[Modal] Layout doesn't work with flex/padding styling #14070
Labels
Area: Fabric
Support Facebook Fabric
Area: Layout
Area: Modal
bug
New Architecture
Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric
Workstream: Component Parity
Close the parity gap between RNW and RN for core RN components and their supporting APIs.
Milestone
Problem Description
Modal works with a View that sets a height/width but gets funky with padding/flex styling. Need to figure out a better way to implement layout (this may involve splitting RNW Island into two different classes if layout diverges too much).
Currently Modal is getting the overflow of it's children and setting that to it's height/width. I'm not sure why add padding/flex to a child would change this overflow.
Steps To Reproduce
Expected Results
Modal has the correct layout
The text was updated successfully, but these errors were encountered: