Skip to content

fix sticky-polyfill causing crash on destroy#1118

Merged
kpfefferle merged 2 commits intoAddepar:masterfrom
lukasnys:fix-sticky-polyfill
Aug 1, 2024
Merged

fix sticky-polyfill causing crash on destroy#1118
kpfefferle merged 2 commits intoAddepar:masterfrom
lukasnys:fix-sticky-polyfill

Conversation

@lukasnys
Copy link
Copy Markdown
Contributor

@lukasnys lukasnys commented Aug 1, 2024

When a ember-table is initially rendered without a tfoot, and a tfoot is added after the initial render (e.g. due to a loading state), the table will cause a crash on destroy.

This happens because the TABLE_POLYFILL_MAP does not have an entry for the specific tfoot element and thus, we call .destroy() on undefined.

@kpfefferle kpfefferle merged commit f2953a2 into Addepar:master Aug 1, 2024
@mixonic
Copy link
Copy Markdown
Member

mixonic commented Jan 16, 2025

This patch is released in 6.0.0-7.

@mixonic mixonic added the 6.0 label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants