From 9d4680d88fb1512af9be72546d4b2bc20ca3b4ab Mon Sep 17 00:00:00 2001 From: Nick Schot Date: Wed, 9 Mar 2022 12:14:07 +0100 Subject: [PATCH] Only set animationClass on dropdown-content when animations are enabled --- addon/components/basic-dropdown-content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/basic-dropdown-content.ts b/addon/components/basic-dropdown-content.ts index 99d0c848..3b8f50d2 100644 --- a/addon/components/basic-dropdown-content.ts +++ b/addon/components/basic-dropdown-content.ts @@ -54,7 +54,7 @@ export default class BasicDropdownContent extends Component { private handleRootMouseDown?: RootMouseDownHandler; private scrollableAncestors: Element[] = []; private mutationObserver?: MutationObserver; - @tracked animationClass = this.transitioningInClass; + @tracked animationClass = this.animationEnabled ? this.transitioningInClass : ''; get destinationElement(): Element | null { return document.getElementById(this.args.destination);