twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
Other
20.36k stars 2.26k forks source link

Unify dropdown behavior with floating-ui #8544

Open lucasbordeau opened 1 hour ago

lucasbordeau commented 1 hour ago

Scope & Context

We still have many dropdowns that don't have the right behavior (overflow problem, parent container resizing out of window, etc.)

We want to unify the dropdown behavior by using the right configuration for our floating-ui middlewares which are already fully capable of handling our common use cases.

Then we will be able to remove any CSS workaround for this and let floating-ui fully handle the dropdowns, which is what we want.

Image

Image

lucasbordeau commented 1 hour ago

@Bonapara Do you have any recommendation for the multiple dropdowns of the app and did you see any behavior that you would like to be fixed ?

FelixMalfait commented 1 hour ago

@lucasbordeau I think I can speak on behalf of @Bonapara - happy to discuss whenever you want today

lucasbordeau commented 1 hour ago

I updated the issue following our discussion.