Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

zeroedin
Copy link
Collaborator

@zeroedin zeroedin commented Sep 22, 2025

What I did

This PR is an attempt to static the implementation of @floating-ui/dom, so we no longer have to update that dependency or serve it downstream. This implementation will eventually be replaced entirely with browser APIs in anchor positioning.

  1. Removed @floating-ui/dom dependency by way of AI copying its functionality into our own repo.
  2. Recreated a 1:1 rework of that code into our pfe-core/core/functions.
  3. Updated FloatingDomController to import from the new location.

TODO

  • add changeset

Testing Instructions

  1. View demos of components that use @floating-ui/dom
  2. Run a build, and copy artifacts and check downstream in RHDS

Notes to Reviewers

The copied API was completed with the assistance of Claude AI. Please give extra scrutiny to this code.

Copy link

changeset-bot bot commented Sep 22, 2025

⚠️ No Changeset found

Latest commit: 6d8aae1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@zeroedin zeroedin changed the title Fix/remove floating UI dep fix(core): remove floating UI dep Sep 22, 2025
@zeroedin zeroedin changed the title fix(core): remove floating UI dep fix(core): remove @floatingui/dom dependency Sep 22, 2025
Copy link
Contributor

github-actions bot commented Sep 22, 2025

✅ Commitlint tests passed!

More Info
{
  "valid": true,
  "errors": [],
  "warnings": [],
  "input": "fix(core): remove `@floating-ui/dom` dependency"
}

Copy link

netlify bot commented Sep 22, 2025

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit f6af2f9
😎 Deploy Preview https://deploy-preview-2945--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

@zeroedin zeroedin changed the title fix(core): remove @floatingui/dom dependency fix(core): remove @floating-ui/dom dependency Sep 22, 2025
@github-actions github-actions bot added the AT passed Automated testing has passed label Sep 22, 2025

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AT passed Automated testing has passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.