Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure detached cannot be called when disble-upgrade is set #4607

Merged
merged 3 commits into from
May 23, 2017
Merged

Conversation

sorvell
Copy link
Contributor

@sorvell sorvell commented May 17, 2017

This fixes an issue that allowed an element with disable-upgrade to process the detached callback.

…readied.” This fixes an issue that allowed an element with `disable-upgrade` to process the `detached` callback.
Steven Orvell added 2 commits May 22, 2017 16:14
…t is readied, if attachment is pending only call `attached` if the element is actually attached.

Note, this means that an element that is attached + detached before `ready` will not fire any attach/detach callback; however, this is a very corner case and previously in this case these callbacks were called out of order.
Copy link
Member

@kevinpschaaf kevinpschaaf left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants