Skip to content

Commit

Permalink
Merge pull request #202 from reservoirprotocol/pedro/relay-5340-token…
Browse files Browse the repository at this point in the history
…-selector-animation-is-buggy-in-safari

Token selector animation is buggy in safari
  • Loading branch information
pedromcunha authored Jul 31, 2024
2 parents 5737cc6 + f66e0f5 commit 2cc998d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/mean-islands-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@reservoir0x/relay-kit-ui': patch
---

Fix safari modal animation flickering bug
3 changes: 0 additions & 3 deletions packages/ui/src/components/primitives/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ const AnimatedContent = forwardRef<
key={isMobile + 'modal'}
ref={forwardedRef}
transition={{ type: isMobile ? 'tween' : 'spring', duration: 0.3 }}
style={{
transition: 'opacity ease-in 0.2s'
}}
{...animation}
>
{children}
Expand Down

0 comments on commit 2cc998d

Please sign in to comment.