magicuidesign / magicui

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
https://magicui.design
MIT License
10.98k stars 432 forks source link

[bug] NeonGradientCard #225

Open dong-qian opened 3 months ago

dong-qian commented 3 months ago

Describe the bug The glow (blur) effect is not visible on the mobile browser, but it displays correctly on desktop devices.

Issue on mobile: NeonGradientCard-mobile Medium

To Reproduce Steps to reproduce the behavior:

  1. Go to https://magicui.design/docs/components/neon-gradient-card using the mobile browser
  2. You will see there is no glow effect the card itself

Expected behavior It should be same as desktop

Expect on Desktop CleanShot 2024-07-17 at 23 08 49@2x Medium

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Identified a potential issue and a solution, but need to confirm with the team before moving forward. Looks like /3 is the issue, /4 or large works.

"--after-blur": `${dimensions.width / 3}px`,
pilladipesh33 commented 2 months ago

hi @dong-qian, I checked it the output is quite opposite to what you have mentioned, it works fine. Screenshot 2024-08-06 112502 Screenshot 2024-08-06 112519