Skip to content

global class not work in dynamic situation(s) #4248

@PvlD

Description

@PvlD

Describe the bug
global class not appears when "class" attribute for elemet is changed on every redraw.

Leptos Dependencies
leptos = { version = "0.8.6" }
leptos_meta = { version = "0.8.5" }
leptos_router = { version = "0.8.5" }
leptos_axum = { version = "0.8.5" }

To Reproduce
Steps to reproduce the behavior:

  1. Build application from code see attachment.
  2. Go to "Class"
  3. Observe HTML in dev tool.
  4. Click on 'Refresh data'
  5. Observe HTML in dev tool.

Screenshots

Image

lib.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions