diff --git a/client/admin/main.jsx b/client/admin/main.jsx index a5b7c84ad..3726391ec 100644 --- a/client/admin/main.jsx +++ b/client/admin/main.jsx @@ -1,6 +1,8 @@ import { createRoot } from 'react-dom/client'; import Admin from './admin.jsx'; +import { bootstrapAnchorPositioningPolyfill } from '../components/anchorPositioningPolyfill.js'; const props = window.__INITIAL_PROPS__ || {}; createRoot(document.getElementById('reactRoot')).render(); +bootstrapAnchorPositioningPolyfill(); diff --git a/client/components/Anchored.jsx b/client/components/Anchored.jsx index 87af5a6e1..2e7189a16 100644 --- a/client/components/Anchored.jsx +++ b/client/components/Anchored.jsx @@ -71,10 +71,14 @@ const Anchored = ({ children })=>{ // forward ref for AnchoredTrigger const AnchoredTrigger = forwardRef(({ toggleVisibility, visible, children, className, ...props }, ref)=>(