aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forms/src/select/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/forms/src/select/index.tsx')
-rw-r--r--packages/forms/src/select/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/forms/src/select/index.tsx b/packages/forms/src/select/index.tsx
index ef3e70ddb..d7479f63e 100644
--- a/packages/forms/src/select/index.tsx
+++ b/packages/forms/src/select/index.tsx
@@ -49,7 +49,7 @@ interface IState {
49let popupTransition: string = 'none'; 49let popupTransition: string = 'none';
50let toggleTransition: string = 'none'; 50let toggleTransition: string = 'none';
51 51
52if (window.matchMedia('(prefers-reduced-motion: no-preference)')) { 52if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) {
53 popupTransition = 'all 0.3s'; 53 popupTransition = 'all 0.3s';
54 toggleTransition = 'transform 0.3s'; 54 toggleTransition = 'transform 0.3s';
55} 55}