Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

devversion
Copy link
Member

@devversion devversion commented Jun 19, 2016

  • Currently the MutationObserver is watching for attribute changes and subtree modifications.
    It also watches for text content changes, but that's not working properly for span elements with <md-tab-label> elements.

    See for example https://bugzilla.mozilla.org/show_bug.cgi?id=1138368
  • Also fixed meaningless tests for the mutation observer, because those will always fire once at the initialization.

The MutationObserver should watch for characterData to properly detect text changes.

Fixes #8667.

* Currently the MutationObserver is watching for attribute changes and subtree modifications.
  It also watches for text content changes, but that's not working properly for span elements with `<md-tab-label>` elements.
  See https://bugzilla.mozilla.org/show_bug.cgi?id=1138368

The MutationObserver should watch for `characterData` to properly detect text changes.

Fixes angular#8667.
@devversion devversion added the needs: review This PR is waiting on review from the team label Jun 19, 2016
@ThomasBurleson ThomasBurleson added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Jun 20, 2016
@devversion devversion deleted the fix/tabs-detect-text-change branch June 20, 2016 14:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tabs: pagination not updating on scope modification
2 participants