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

大转盘在三星部分机型中 app webview里显示异常,会被放大很多 #500

Open
GitHubYuzai opened this issue Jul 15, 2024 · 1 comment

Comments

@GitHubYuzai
Copy link

  • 你当前是什么框架(必填):react
  • 你使用的是哪个包(必填):@lucky-canvas/react
  • 你当前插件的版本(必填):^0.1.13
  • 当前环境是小程序还是浏览器(选填):浏览器
  • 详细描述你的bug:大转盘在三星部分机型中 app webview里显示异常,会被放大很多

WechatIMG1851

  • 问题代码(重要):
    <LuckyWheel
    ref={ref}
    prizes={prizes}
    blocks={baseBlocks}
    width={6.28rem}
    height={6.28rem}
    defaultConfig={{
    gutter: ".02rem",
    speed: 30,
    decelerationTime: 1500
    }}
    onStart={onStart}
    onEnd={onEnd} />
// 代码开始, 别再放歪了行吗
     <LuckyWheel
                        ref={ref}
                        prizes={prizes}
                        blocks={baseBlocks}
                        width={`6.28rem`}
                        height={`6.28rem`}
                        defaultConfig={{
                            gutter: ".02rem",
                            speed: 30,
                            decelerationTime: 1500
                        }}
                        onStart={onStart}
                        onEnd={onEnd} />
// 代码结束
@JiQingLun
Copy link

在部分vivo手机也会,vivo s15一样的问题

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

2 participants