Skip to content

fix(TidalTags): properly update tags when DOM is recycled#211

Merged
Inrixia merged 1 commit intoInrixia:devfrom
Brskt:fix-tidaltags-dom-recycling
Jan 22, 2026
Merged

fix(TidalTags): properly update tags when DOM is recycled#211
Inrixia merged 1 commit intoInrixia:devfrom
Brskt:fix-tidaltags-dom-recycling

Conversation

@Brskt
Copy link
Contributor

@Brskt Brskt commented Jan 22, 2026

Summary

  • Add MutationObserver to detect data-track-id attribute changes when Tidal recycles DOM elements
  • Update column content instead of returning early in setColumn
  • Remove old quality tag span before checking if new one is needed

Fixes issue where quality tags and format columns would get misaligned when tracks are removed or reordered in the tracklist.

Test plan

  • Tested on Windows
  • Tested on Linux

- Add MutationObserver to detect data-track-id attribute changes
- Update column content instead of returning early in setColumn
- Remove old quality tag span before checking if new one is needed

Fixes issue where quality tags and format columns would get misaligned
when tracks are removed or reordered in the tracklist.
Copy link
Owner

@Inrixia Inrixia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one change needed for observers

@Inrixia Inrixia changed the base branch from master to dev January 22, 2026 07:23
@Inrixia Inrixia merged commit 3150bb4 into Inrixia:dev Jan 22, 2026
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

Successfully merging this pull request may close these issues.

2 participants