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

feat: 用 webview 直接渲染官方API返回的 html,复杂帖子显示效果更好 #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paranoidjk
Copy link
Contributor

No description provided.

@isaced
Copy link
Owner

isaced commented Dec 1, 2024

我试试看

@isaced
Copy link
Owner

isaced commented Dec 1, 2024

渲染的内容展示没问题,但是 RichText 的高度计算好像有点问题,很多情况会漏出滚动条。

image

@paranoidjk
Copy link
Contributor Author

@isaced 按理不应该,我看了一下他的原理是取最底部 dom 的高度,我看看是不是没有去掉 html 默认的 margin 还是他加了啥 css
https://github.com/NuPlay/RichText/pull/54/files

@paranoidjk
Copy link
Contributor Author

@isaced
image
我这边复现不了,奇怪了 😓

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

Successfully merging this pull request may close these issues.

2 participants