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

<li> bulletpoint / numeral not being styled along with content of <li> #144

Closed
f6m6 opened this issue May 3, 2018 · 3 comments
Closed
Labels
bug Crush'em all. is:help wanted We are welcoming PRs to address this.

Comments

@f6m6
Copy link

f6m6 commented May 3, 2018

Is this a bug report or a feature request?

Bug report

Have you read the guidelines regarding bug report?

Yes

Have you read the documentation in its entirety?

Yes

Have you made sure that your issue hasn't already been reported/solved?

Yes

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

Both

Is the bug reproductible in a production environment (not a debug one)?

Yes

Have you been able to reproduce the bug in the provided example?

In the Demo, changing lists: { name: 'Lists', props: { baseFontSize: 14 } } to lists: { name: 'Lists', props: { baseFontSize: 2 } } and it had no effect on the font size so I couldn't reproduce it, but that's a problem in itself.

Environment

React: 16.2.0
React native: 0.52.0
react-native-render-html: 3.9.1

Target Platform:
Android (6.0)
iOS (11.2)

Steps to Reproduce

  1. Go to the Demo app in this repo
  2. Go to the file snippets.js
  3. Change lists: { name: 'Lists', props: { baseFontSize: 14 } } to lists: { name: 'Lists', props: { baseFontSize: 2 } }

Expected Behavior

  • text and bullets should be resizable. Changing baseFontSize to 2 should have made it very small.

    Actual Behavior

  • tags cannot be resized

    Reproducible Demo

    One step only:

    In the Demo, changing lists: { name: 'Lists', props: { baseFontSize: 14 } } to lists: { name: 'Lists', props: { baseFontSize: 2 } } and it had no effect on the font size so I couldn't reproduce it, but that's a problem in itself.

    screen shot 2018-05-03 at 17 59 45
  • @f6m6
    Copy link
    Author

    f6m6 commented May 3, 2018

    This is part of a wider problem I have as in my real project, my <li> text does grow larger - seems to take on the p tag's style even though that is not in my html - but the bullets do not, causing misalignment which I need to correct.

    screen shot 2018-05-03 at 17 19 22

    @Exilz Exilz added bug Crush'em all. is:help wanted We are welcoming PRs to address this. labels May 4, 2018
    @jsamr jsamr mentioned this issue Nov 26, 2020
    41 tasks
    @jsamr
    Copy link
    Collaborator

    jsamr commented Nov 26, 2020

    This issue has been fixed in the Foundry release. Try it out now! See #430 for instructions.

    @jsamr
    Copy link
    Collaborator

    jsamr commented Jun 8, 2021

    Closing now since the stable beta which fixes this issue has just been released.

    @jsamr jsamr closed this as completed Jun 8, 2021
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    bug Crush'em all. is:help wanted We are welcoming PRs to address this.
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants