React-native-render-html: Invalid YGDisplay 'inline-block'

Created on 19 Apr 2019  ·  10Comments  ·  Source: meliorence/react-native-render-html

DA2B8E4DF27DB292E483F8DA4DE282B7

FAQ candidate

Most helpful comment

Just add 'display' in ignoredStyles.

Ex.:
ignoredStyles={['font-family', 'display']}

All 10 comments

i have same issue like @WDDong too.
any advices?

same for me

same for me

same for me

If anyone can put similar issues in here, at least we can ignore those styles and use this library :-D

I'm having the same issue. Created PR 282 that fixes it.

Just add 'display' in ignoredStyles.

Ex.:
ignoredStyles={['font-family', 'display']}

Adding display to ignoredStyles can not always be possible. I have a case when if the display is “none” I want to hide the element for example.

I'm having the same issue.

This issue will be fixed in version 4.2.2.
A pre-release is already available if you want this fix now, see #385.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aparus picture Aparus  ·  3Comments

HarrisKoffi picture HarrisKoffi  ·  5Comments

KimJeonghun91 picture KimJeonghun91  ·  4Comments

sayem314 picture sayem314  ·  6Comments

f-roland picture f-roland  ·  3Comments