I don’t know if anyone has the same issue or has noticed it, but when I install Material-UI v5 on my Meteor app and copy the example/sample of the Dialog or Menu, on the initial click I get a delay before it actually opens, it sort of hangs.
I created a small repo to demonstrate the issue here: GitHub - simplecommerce/material-ui-5-meteor
Clone the repo and run it.
Click on one of the two buttons and look at the delay before it opens.
Without doing a refresh, click again and you should see its almost instant afterwards.
Now hit refresh and click on it again and you should see it reoccur.
I created this repo because in my actual project, it take around 5 secs for the Dialog or Menu to open up.
I have no idea why that is, I have tried to look at it but couldn’t figure it out. At first I thought it might be my project code, but with my blank repo it actually has the same issue.
I am using latest version of Meteor, and it seems to occur in earlier versions too.
Here is a screen video demo of my bigger project showing the delay.
Any help is appreciated.