Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set AOM properties on anchor tags #487

Closed
davidturissini opened this issue Jul 10, 2018 · 0 comments
Closed

Unable to set AOM properties on anchor tags #487

davidturissini opened this issue Jul 10, 2018 · 0 comments

Comments

@davidturissini
Copy link
Contributor

Description

Setting AOM properties imperatively throws TypeError: Invalid value used as weak map key. This is because tags have a host property which is what we use to determine if a value is an element or shadow root.

Steps to Reproduce

  1. Create a component that renders an anchor
  2. Get a reference to the anchor
  3. imperatively set ariaChecked = 'true';

expected:
No error

actual:
Weak map error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant