design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Update overflowBoundaryElement usage to use React's createPortal

Open interactivellama opened this issue 6 years ago • 1 comments

Now that React 16 features can be used. Components should update to createPortal.

https://reactjs.org/docs/portals.html

This will simplify the Dialog code and remove the need for context explicit passing to Portal children.

This will also allow Enzyme testing out of the box.

interactivellama avatar Feb 18 '19 07:02 interactivellama

This will also resolve issues with multiple nested overflowBoundaryElement components using the new PortalSettings component ( https://github.com/salesforce/design-system-react/pull/2867 )

mtetlow avatar Jul 19 '21 20:07 mtetlow