Skip to content

applying the polyfill to dynamic elements #91

@dreyks

Description

@dreyks

Hey! thx for the polyfill!

I'm trying to bolt it onto a dropdown and I'm applying the polyfil after the dropdown is open. This works. But when I close the dropdown and open it again - the css-vars on the element aren't being set.

As far as I understood from the code since the CSS was already transformed and there are no anchor() functions anymore no elements are targeted

is it somehow possible to achieve what i'm trying to achieve? :)

UPD: ahh, I see now that "dynamically added/removed anchors or targets" is not yet supported 😢

fwiw, I'm ready to help if any help is needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions