nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Skeleton is overflowing with isLoaded=true

Open almarzn opened this issue 1 year ago • 4 comments

NextUI Version

2.4.6

Describe the bug

Using <Skeleton> with isLoaded={true} overflows the ::before element on the left of the element.

  • Element on the left are thus getting covered by an invisible element and thus not interactive.
  • The animation flashes on the left of the element in cases where the element is not removed and readded (see video)

Your Example Website or App

https://codesandbox.io/p/devbox/cranky-euclid-hjympl?workspaceId=6a536476-25bc-4d3c-9a8a-569f4ba3a731

Steps to Reproduce the Bug or Issue

  1. Click Hide Skeleton

Expected behavior

Button A should be clickable

Screenshots or Videos

Button A is not clickable

Also a video of the overlay flashing (after reloading)

https://github.com/user-attachments/assets/f5274588-6d55-43ec-8472-c21af6999ec7

Operating System Version

macOS

Browser

Chrome

almarzn avatar Aug 21 '24 08:08 almarzn

handled in #3217

wingkwong avatar Aug 22 '24 05:08 wingkwong

I like to work on this please assign me.

ScriptShah avatar Aug 26 '24 13:08 ScriptShah

@ahmaddonishyar there is a PR alreayd

wingkwong avatar Aug 27 '24 07:08 wingkwong