Skip to content

Galleria: doesn't work correctly if value is set dynamically #7450

@AriaMoradi

Description

@AriaMoradi

Describe the bug

It seems like Galleria doesn't set its overlay classes correctly when it is asked to be shown just after value is set.

Reproducer

https://stackblitz.com/edit/vitejs-vite-nm1gbb

Note: Not Working Version only doesn't work the first time it is clicked.

System Information

System:
    OS: Linux 6.12 Arch Linux
    CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
    Memory: 6.98 GB / 23.32 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.18.0 - /usr/bin/node
    npm: 10.9.0 - /usr/bin/npm
    pnpm: 9.12.3 - /usr/bin/pnpm
  npmPackages:
    primereact: ^10.8.3 => 10.8.4 
    react: ^18.2.0 => 18.3.1 
    tailwindcss: ^3.4.10 => 3.4.10

Steps to reproduce the behavior

No response

Expected behavior

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugIssue contains a defect related to a specific component.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions