This issue has to do with the Material-UI Clickaway passing the click on to the button, causing two toggles of the filter view, quickly closing and re-opening the view.
This could be potentially fixed by moving button inside filter variable component and fixing its position (https://codesandbox.io/s/42qxq83vpx).
This issue has to do with the Material-UI Clickaway passing the click on to the button, causing two toggles of the filter view, quickly closing and re-opening the view.
This could be potentially fixed by moving button inside filter variable component and fixing its position (https://codesandbox.io/s/42qxq83vpx).