fix: avoid crash if Shadow DOM is not supported
fix: avoid crash if Shadow DOM is not supported

floating-ui/floating-ui,FezVrasta/popper.js,FezVrasta/popper.js,floating-ui/floating-ui,FezVrasta/popper.js,floating-ui/floating-ui,FezVrasta/popper.js