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

Image elements are translated to HTMLImage bloated with the RN HTML props #384

Closed
5 tasks done
jsamr opened this issue Jul 20, 2020 · 0 comments
Closed
5 tasks done
Labels
bug Crush'em all.

Comments

@jsamr
Copy link
Collaborator

jsamr commented Jul 20, 2020

Oath

I swear that I have completed these tasks before submitting:

Decision table

  • My issue does not look like “The HTML attribute 'start' is not respected”
  • My issue does not look like “The HTML element <video> is not rendered”

Bug Report

Setup

React Native
System:
    OS: Linux 5.4 Manjaro Linux
    CPU: (8) x64 Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz
    Memory: 3.83 GB / 31.29 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.3.0 - /usr/bin/node
    Yarn: 1.22.4 - ~/.node_modules/bin/yarn
    npm: 6.14.5 - /usr/bin/npm
    Watchman: 4.9.0 - /usr/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.0, 29.0.3, 30.0.0
      System Images: android-22 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.6911.18.40.6514223
  Languages:
    Java: 1.8.0_252 - /usr/bin/javac
    Python: 3.8.3 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: ^16.13.1 => 16.13.1 
    react-native: ^0.63.0 => 0.63.0 
  npmGlobalPackages:
    *react-native*: Not Found
Libraries
  • react-native-render-html: 4.2.1
  • react-native-webview: 10.3.2

Reproduction

Description

The anchor HTML element a is translated to a Text element which is bloated with all the HTML component props.

Reproducible Demo

See test commit 4388f7b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Crush'em all.
Projects
None yet
Development

No branches or pull requests

1 participant