Handle `collapsed` class on triggers even when manually invoked

Fixes #13636.
maybe don't have to worry about it now