Skip to content

Address setter compatibility with frameworksΒ #2

@rdmurphy

Description

@rdmurphy

I thought I did everything correctly with the custom element property setters but Svelte quickly informed me that I had in fact not.

I think the issue here is that Svelte has special handling for custom elements β€” if it sees that an attribute has a matching property it will pass it in as a property instead of an attribute. This is confusing because it does not do this for native DOM elements. Β―\(ツ)/Β―

But anyway, this is probably a real bug with how I implemented the setter for offset. It should be possible to "unset" it by doing scene.offset = null but that crashes and burns right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions