Skip to content

[Bug]: taro 微信小程序 安卓 ios 双端尺寸样式不一致 #905

@ninthnightfall

Description

@ninthnightfall

weapp-tailwindcss 版本

4.12.0

tailwindcss 版本

4.3.0

框架 & 小程序平台

taro react 编译到 微信小程序

最小复现bug的代码仓库链接

No response

复现bug的步骤

例如 h-50
iOS端正常
安卓端开发者工具中显示为400rpx渲染结果为150,在样式标签栏中重新勾选后又显示正常
改写成 h-[400rpx] 后双端都正常

Image

预期是什么?

安卓端效果和iOS端一致

实际发生了什么?

安卓端有问题

运行环境

其他附加信息

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtaro

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions