Data Router ยท console.warn
router.popOut() could not open the window - ...
Printed by Data Router, prefixed [lattice], since 1.121.0.
Warnings reference › data-router:popout-blocked
- Identifier
data-router:popout-blocked- Raised by
- Data Router
- Since
- 1.121.0
What happened
window.open returned nothing (the browser blocked the popup, or the code runs where no window API exists). The call does not throw: it returns a handle with blocked: true and window: null, whose focus()/close() are no-ops.
The fix
Open pop-outs from a user gesture so the browser lets them through, or accept the blocked handle and show the panel in-page instead.
The smallest fix
const h = router.popOut({ url: '?panel=chart', name: 'chart' }); if (h.blocked) showInPage();
Reference
Covered in full at the API reference.