Skip to content

Commit

Permalink
fix: don't set idl on custom elements that are interested in the corr…
Browse files Browse the repository at this point in the history
…esponding content attribute
  • Loading branch information
Katja Potensky committed Aug 20, 2024
1 parent 2c6df95 commit 2a467a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/diff/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export function setProperty(dom, name, value, oldValue, namespace) {
name != 'colSpan' &&
name != 'role' &&
name != 'popover' &&
!dom.constructor.observedAttributes?.includes(name) &&

Check failure on line 120 in src/diff/props.js

View workflow job for this annotation

GitHub Actions / Build & Test

Property 'observedAttributes' does not exist on type 'Function'.

Check failure on line 120 in src/diff/props.js

View workflow job for this annotation

GitHub Actions / Build & Test / Build & Test

Property 'observedAttributes' does not exist on type 'Function'.
name in dom
) {
try {
Expand Down

0 comments on commit 2a467a3

Please sign in to comment.