Skip to content

Conversation

@pyxarez
Copy link

@pyxarez pyxarez commented Aug 8, 2018

There is the case when node that should be observed placed inside of iframe that will be detached in some cases. In Chrome it will work just fine because defaultView there becomes null, but in ie it gets the following structure
image
That case leads to the error in the isSVGGraphicsElement function due to the lack of SVGElement(as well as other properties)
image
When getWindowOf returns the window with undefined properties the next step "target instanceof getWindowOf(target).SVGElement" raise an error

@pyxarez pyxarez force-pushed the Fix/IE11-detached-iframe-default-view branch from 7febdd2 to 387220c Compare August 8, 2018 13:13
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.

1 participant