onyxia-ui icon indicating copy to clipboard operation
onyxia-ui copied to clipboard

Button keeps their 'hover' state when clicked.

Open garronej opened this issue 10 months ago • 0 comments

We should keep MUI default behaviour for hover.
This PR was a good temporary patches but it has too many negative side effects.

The real solution is to use a screen scaller that support the use of getBoundingClientRect and other measurement API.
I've started a work toward this: https://github.com/garronej/react-screen-scaler
When we can replace powerhooks's ViewPortProvider with react-screen-scaler all issues related to touch ripple missplacement should go away. It should also solves the misssizing of dropdowns.

garronej avatar Aug 29 '23 16:08 garronej