MCPcopy Create free account
hub / github.com/adobe/react-spectrum / Portal

Function Portal

packages/react-aria/test/focus/FocusScope.test.js:2002–2004  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2000
2001 it('should not lock focus inside a focus scope with a child scope in a portal', function () {
2002 function Portal(props) {
2003 return ReactDOM.createPortal(props.children, document.body);
2004 }
2005
2006 function Test() {
2007 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected