I'm working on a desktop web app and wondering what the best way to handle multiple dropdowns with different open and close animations is. When layerA is clicked show layerB, when layerA is clicked again hide layerB (show and hide have different animations) If layerB is open and I click layerC to show layerD, layerB should close. I've tried working with States and chaining Animations but haven't been able to get this work. Any help would be appreciated. Thanks.