Skip to content

Commit

Permalink
fix(sticky-header): Mutationobserver must monitor changes to all of t…
Browse files Browse the repository at this point in the history
…he target node's descendants

closes #45
  • Loading branch information
leifoolsen committed May 15, 2016
1 parent 96ee66b commit 1e8d364
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lib/mdl-ext.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/mdl-ext.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/mdl-ext.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/mdl-ext.min.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/sticky-header/sticky-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@
}).observe( this.content_, {
attributes: false,
childList: true,
characterData: false
characterData: false,
subtree: true
});

// Set initial position
Expand Down

0 comments on commit 1e8d364

Please sign in to comment.