From 5593943cadbf361717531acb6d9d416d10ddd4ef Mon Sep 17 00:00:00 2001 From: Viraj-10 Date: Tue, 5 Dec 2023 13:27:37 +0530 Subject: [PATCH 1/2] fix: popover animation --- .../src/components/Popover/styled-components/Content.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/themed/src/components/Popover/styled-components/Content.tsx b/packages/themed/src/components/Popover/styled-components/Content.tsx index 3718de7adf..1506418d1e 100644 --- a/packages/themed/src/components/Popover/styled-components/Content.tsx +++ b/packages/themed/src/components/Popover/styled-components/Content.tsx @@ -1,7 +1,6 @@ -import { Motion } from '@legendapp/motion'; import { styled } from '@gluestack-style/react'; - -export default styled(Motion.View, {}, { +import { AnimatedView } from '@gluestack-style/animation-resolver'; +export default styled(AnimatedView, {}, { componentName: 'PopoverContent', ancestorStyle: ['_content'], } as const); From ade9c07cfc5bb9b52de26021c991e3c8cc557a02 Mon Sep 17 00:00:00 2001 From: Viraj-10 Date: Tue, 5 Dec 2023 13:28:51 +0530 Subject: [PATCH 2/2] chore: @gluestack-ui/themed version bump to 1.0.21 --- packages/themed/CHANGELOG.md | 6 ++++++ packages/themed/package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/themed/CHANGELOG.md b/packages/themed/CHANGELOG.md index f262d823d6..ae60c71336 100644 --- a/packages/themed/CHANGELOG.md +++ b/packages/themed/CHANGELOG.md @@ -1,5 +1,11 @@ # @gluestack-ui/themed +## 1.0.21 + +### Patch Changes + +- fix: popover animation issue + ## 1.0.20 ### Patch Changes diff --git a/packages/themed/package.json b/packages/themed/package.json index 89e69c0550..c133984467 100644 --- a/packages/themed/package.json +++ b/packages/themed/package.json @@ -1,6 +1,6 @@ { "name": "@gluestack-ui/themed", - "version": "1.0.20", + "version": "1.0.21", "main": "build/index.js", "types": "build/index.d.ts", "module": "build/index",