Consider upgrading from Popper.js to Floating UI
Popper.js has been rebranded as Floating UI, which has a slightly different API and some new interesting features, like the size
middleware that helps with resizing floating elements to prevent them from overflowing their container. This might help with dropdown that contain long non-wrapping text. Here's the kind of result we could achieve:
We might benefit from upgrading to the newer package. Let's discuss pros and cons here.