Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
What is the current behavior?
Any overlay control (menu, popup) if opened and closed enough times affects the performance of all the input boxes. As funny as it seems, it does!
What are the steps to reproduce?
Try material's website: https://material.angular.io
- Navigate to the "Form Controls -> Input" to load the input page
- Navigate to "Navigation -> Menu"
- Open and close the menu 150 times or more by clicking on the "Menu" button.
- Navigate to the "Form Controls -> Input". (to see the issue better, try to repeat steps 2 to 4)
5- Try to type quickly in any of the input boxes and you will see it's typing slowly. Try to delete the text by holding the backspace key and you will see it's lagging.
What is the use-case or motivation for changing an existing behavior? We are building a software that will be running for the entire day. Obviously the menus will open for more than 150 times. So it's not a dramatic number. After a lot of investigation on why it's slowing down, we realized that it's the menu causing that. We tried it on material's own website and we were able to replicate the issue
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
The latest stable version: 5.2.4
We even tried on 6.0.0-beta.4