react native - Lineheight in HTMLView -


somehow not working android works on ios:

<htmlview value={itemdetail.description} stylesheet={htmlstyle}/>  const htmlstyle = stylesheet.create({   p:{     lineheight:28,     fontsize:16,     color:'#444343'   } }); 

you can find component here: https://github.com/jsdf/react-native-htmlview

the description this:

<p>hello, world!</p> 

on android color , fontsize change, not lineheight. on ios emulator works.

if there's alternative set lineheight, please let me know.

have tried plugging in android device usb , going chrome://inspect/#devices in chrome browser? check computed styles on device in inspector, might give insight going wrong

or react debugger in case: https://facebook.github.io/react-native/docs/debugging.html#chrome-developer-tools


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -