From a507bee88068721bdfe97c27d2ebdc2a92d534e9 Mon Sep 17 00:00:00 2001 From: Daniel Leroux Date: Mon, 22 Nov 2021 12:13:31 -0500 Subject: [PATCH] remove transform on open popovers --- UNRELEASED.md | 1 + src/components/Popover/Popover.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/UNRELEASED.md b/UNRELEASED.md index f8bf8ff6593..2c2581fd2a1 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -18,6 +18,7 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t - Fixed try-catch syntax error in `Modal` ([#4553](https://github.com/Shopify/polaris-react/pull/4553)) - Fixed an issue with `TextField` where date and time were uneditable on click ([#4671](https://github.com/Shopify/polaris-react/pull/4671)) +- Fixed an issue with `Popover` where the transform property interfered with descendants positioning ([#4685](https://github.com/Shopify/polaris-react/pull/4685)) ### Documentation diff --git a/src/components/Popover/Popover.scss b/src/components/Popover/Popover.scss index acd50dba5bc..36472fbf789 100644 --- a/src/components/Popover/Popover.scss +++ b/src/components/Popover/Popover.scss @@ -27,7 +27,7 @@ $vertical-motion-offset: rem(-5px); .PopoverOverlay-open { opacity: 1; - transform: translateY(0); + transform: none; } .PopoverOverlay-exiting {