onyxia-ui
onyxia-ui copied to clipboard
Button keeps their 'hover' state when clicked.
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.