Skip to content

[BUG]: components/dome-gallery #559

@Chengixx

Description

@Chengixx

Describe the issue

First of all, thank you to the author, this library is very useful!

When I use the component on the computer, it runs perfectly, but when I use it on the mobile device, the animation and size are lost after clicking the item

I'm not sure if there's a problem with my usage, because it seems to work fine when using the mobile version in the official documentation. However, when I install and use this component in a minimalist vite-react project and on my blog, I do encounter mobile issues. I recorded a simple video to demonstrate this

Reproduction Link

1547fa3bb48a4b3a8588be38c2d9fe91.mp4

Steps to reproduce

This issue is indeed easy to reproduce. Simply install the dome-gallery component in a simple React project, and this scenario will appear. At first, I thought it was due to CSS pollution in my project, but even when I created a brand new React project, the same issue occurred

Validations

  • I have checked other issues to see if my issue was already reported or addressed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions