I'm trying to find a way to refresh the material design lite menus when they are opened. For example, I have a shopping cart and when an item is deleted with the menu opened, I want the menu to resize to the user.
I've tried using
componentHandler.upgradeDom();
But that doesn't resize the menus when they are open. Any ideas?