Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lineHeight for tagsStyles throw warning on IOS #155

Closed
xstable opened this issue May 23, 2018 · 2 comments
Closed

lineHeight for tagsStyles throw warning on IOS #155

xstable opened this issue May 23, 2018 · 2 comments

Comments

@xstable
Copy link

xstable commented May 23, 2018

I have this tagStyles definition:

export const tagStyles = {
    a: {
        color: cfg.mainLight,
        fontStyle:'normal'
    },
    p: {lineHeight:18}
};
_renderContent(section) {
        return (
            <View style={styles.content} >
                <HTML html={section.antwort}
                      baseFontStyle={fontStyles}
                      tagsStyles={tagStyles}
                      onLinkPress={(event, href) => { Linking.openURL(href).catch(e=>console.log("Error on request url: "+href,e)); }}
                />
            </View >
        );
    }

This throw a Warning on IOS
auswahl_756

@xstable
Copy link
Author

xstable commented May 24, 2018

I figured out, that I can work with minHeight, that throw no warning. But anyway why lineHeiht not work?

@Exilz
Copy link
Contributor

Exilz commented Jun 7, 2018

Related to #150

@Exilz Exilz closed this as completed Jun 7, 2018
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

No branches or pull requests

2 participants