Skip to content

Replace Popper.js with Floating UI or the native Popover API #359

@hpehl

Description

@hpehl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions