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

华为P50E HarmonyOS 4.0.0 展示两行问题 #219

Open
songmengda opened this issue Nov 14, 2023 · 1 comment
Open

华为P50E HarmonyOS 4.0.0 展示两行问题 #219

songmengda opened this issue Nov 14, 2023 · 1 comment

Comments

@songmengda
Copy link

image

使用插件配置如下
classOption: { step: 1, limitMoveNum: 1, direction: 2, hoverStop: false, },

经排查 华为P50E手机对样式失效
float : left

会出现2行的情况。

@songmengda
Copy link
Author

我是通过获取dom 并重写样式解决的,将float清空,并将其div 设置为行内元素,同时将滚动元素设置为弹性布局 再次调用 reset()方法解决的

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

No branches or pull requests

1 participant