From 16b162646fb51422d6604addbd27cb6bf0978106 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Tue, 28 Feb 2023 22:39:13 +0000 Subject: [PATCH] remove animation from overlay (#1847) Co-authored-by: Jon Rohan --- .changeset/sixty-seas-applaud.md | 5 +++++ app/components/primer/alpha/overlay.rb | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/sixty-seas-applaud.md diff --git a/.changeset/sixty-seas-applaud.md b/.changeset/sixty-seas-applaud.md new file mode 100644 index 0000000000..2f18dfb78d --- /dev/null +++ b/.changeset/sixty-seas-applaud.md @@ -0,0 +1,5 @@ +--- +"@primer/view-components": patch +--- + +Remove animation from Overlay component diff --git a/app/components/primer/alpha/overlay.rb b/app/components/primer/alpha/overlay.rb index 9f96b8566c..618123d386 100644 --- a/app/components/primer/alpha/overlay.rb +++ b/app/components/primer/alpha/overlay.rb @@ -165,7 +165,6 @@ def initialize( @system_arguments[:classes] = class_names( "Overlay", SIZE_MAPPINGS[fetch_or_fallback(SIZE_OPTIONS, size, DEFAULT_SIZE)], - "Overlay--motion-scaleFade", system_arguments[:classes] ) @system_arguments[:tag] = "anchored-position"