Skip to content

Comments

Drop PopperJS in favor of Floating UI#418

Open
cb-ekuersch wants to merge 2 commits intocds-v9from
floating-ui
Open

Drop PopperJS in favor of Floating UI#418
cb-ekuersch wants to merge 2 commits intocds-v9from
floating-ui

Conversation

@cb-ekuersch
Copy link
Contributor

@cb-ekuersch cb-ekuersch commented Feb 22, 2026

What changed? Why?

Issue: https://linear.app/coinbase/issue/CDS-1258/remove-popperjs-and-react-popper

https://floating-ui.com/docs/migration#positioning-function-change

PopperJS was rebranded to Floating-UI. The library encompasses multiple packages and notably is cross-platform, supporting React Native positioning. Thankfully we already had Floating-UI as a dep so fully switching over is not a big investment.

usePopper was dropped as it was only used by the Popover component. Customers importing this should use floating-ui directly. We could consider adding this as an official peer dep in the future.

Root cause (required for bugfixes)

UI changes

iOS Old iOS New
old screenshot new screenshot
Android Old Android New
old screenshot new screenshot
Web Old Web New
old screenshot new screenshot

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Testing instructions

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

@cb-ekuersch cb-ekuersch force-pushed the floating-ui branch 2 times, most recently from e6ea0a9 to 6ef58c2 Compare February 22, 2026 23:45
@linear
Copy link

linear bot commented Feb 22, 2026

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant