react-native-htmlview icon indicating copy to clipboard operation
react-native-htmlview copied to clipboard

Undefined is not an object (evaluating 'parent.name')

Open ethanyuwang opened this issue 6 years ago • 4 comments

Sometimes I would get this error thrown. What could cause it and how should I fix it?

ethanyuwang avatar Mar 14 '18 18:03 ethanyuwang

@ethanyuwang can you give an example of your implementation and source HTML?

isilher avatar Mar 15 '18 08:03 isilher

I've also been experiencing this. Does the package validate HTML? Seems like it'l throw this when you pass invalid html to it

djvistasa avatar Mar 04 '19 10:03 djvistasa

Any update on this ? @isilher @djvistasa @ethanyuwang I am getting the same error

MuhammadMattiullah avatar Feb 06 '20 09:02 MuhammadMattiullah

@MuhammadMattiullah , I just ensured that all html that I pass into it is valid and that seemed to do the trick back then.

djvistasa avatar Feb 06 '20 10:02 djvistasa