Daddoon / Blazor.Polyfill

Blazor server-side Polyfills and fixes for Internet Explorer 11 & Edge Legacy
MIT License
120 stars 19 forks source link

IE11 - When parent element contains img tag element as child element with access the parent element innerHTML property value script error thrown #64

Closed pandiyarajm93 closed 3 years ago

pandiyarajm93 commented 3 years ago

In my scenario, I need to get the innerHTML value of an contenteditable element

My sample parent element contains an IMG tag element as a child. specific button clicks action I need to get the parent element innerHTML property value. while doing this action getting below highlighted console error in a console window

Facing issue in Blazor Server app with contenteditable div element

image

any workaround to avoid this error logs ?

Daddoon commented 3 years ago

From what you sent me, i cannot be sure that this is issue is related to Blazor.Polyfill, as it may be an other IE11 missing thing. Also your explanation is vague for me.

Do you have a minimalistic repro project or code that i can eventually test ?

pandiyarajm93 commented 3 years ago

My component is a complex one, I will create and share the issue reproducible minimalistic sample

pandiyarajm93 commented 3 years ago

Unable to reproduce the issue with separate sample, so i am closing this issue now.

If found reproducible steps, will reopen it with sample.

Daddoon commented 3 years ago

Fair enough ! 😄