perf: simplify getScrollParent logic
perf: simplify getScrollParent logic

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