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

安卓下不展示富文本内容 无报错 #10768

Closed
Jasonzzh opened this issue Nov 29, 2021 · 1 comment
Closed

安卓下不展示富文本内容 无报错 #10768

Jasonzzh opened this issue Nov 29, 2021 · 1 comment
Assignees
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x

Comments

@Jasonzzh
Copy link

相关平台

React Native

使用框架: React

复现步骤

  <View className={styles["content"]}>
    <RichText
      nodes={`<p
      class="MsoNormal"
      align="left"
      style="text-align:left;text-indent:21.0pt;"
    >
      <span>我们将尽快审核所涉问题,一般情况下,在验证您的用户身份后的三十天内回复。</span>
    </p>`}
    />
  </View>

期望结果

正确展示内容

实际结果

空白

环境信息

� Taro v3.3.1


  Taro CLI 3.3.1 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.16.0 - D:\nodejs\node.EXE
      Yarn: 1.22.10 - C:\Users\Administrator\AppData\Roaming\npm\yarn.CMD
      npm: 6.14.11 - D:\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x labels Nov 29, 2021
@zhiqingchen
Copy link
Member

zhiqingchen commented Nov 30, 2021

需设置宽高。

todo:字体大小Android与iOS不一致。预计跟网页缩放有关。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-rn Target - 编译到 React Native V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

3 participants