Just like the PatternFly React components, PatternFly Java components rely on the outdated Popper.js library for positioning dropdowns, tooltips, and popovers. This is done by bundling Popper.js code inline and by wrapping the JS code with mapped JsInterop classes.
There's a PatternFly epic about replacing Popper.js with Floating UI. We can follow this approach and replace the internal inlined Popper.js code with Floating UI.
Another option would be to use the native Popover API. This would remove the dependency to an external library. A similar approach has already been discussed for PatternFly itself.