nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Tabs animation inside Modal

Open PR0F1L3R1 opened this issue 1 year ago • 6 comments

Describe the bug

If you place tabs inside a modal component, it will disable the transition animation of the selected

Your Example Website or App

https://stackblitz.com/edit/vitejs-vite-b43wm3?file=src%2FApp.tsx&terminal=dev

Steps to Reproduce the Bug or Issue

  1. Create modal with tabs
  2. Just click on tab

Expected behavior

I expected awesome transition animation

Screenshots or Videos

No response

Operating System Version

macOS, Windows

Browser

Chrome

PR0F1L3R1 avatar Aug 06 '23 17:08 PR0F1L3R1

https://github.com/framer/motion/issues/1302

jguddas avatar Aug 08 '23 17:08 jguddas

any solution ?

Tonyibra avatar Sep 22 '23 10:09 Tonyibra

Could there be any alternatives to render the Modal? Instead of using a Portal?

Miguel-A-Jara avatar Oct 23 '23 19:10 Miguel-A-Jara

Any updates on this?

umairayub79 avatar Jan 04 '24 06:01 umairayub79

Any updates on this?

kyujonglee avatar Jan 11 '24 07:01 kyujonglee

I give the solution here: https://github.com/nextui-org/nextui/issues/2297#issuecomment-1928984601

joris-delorme avatar Feb 06 '24 08:02 joris-delorme