We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
原因:获取到的胶囊按钮top居然小于状态栏高度,导致计算gap不对 let gap = rect.top - systemInfo.statusBarHeight;
let gap = rect.top - systemInfo.statusBarHeight;
测试Meizu Note 5通过的解决办法解决,在navBar.js中加上 //部分机型(比如:Meizu Note5)获取到的胶囊按钮top小于状态栏statusBarHeight高度 if(rect.top < systemInfo.statusBarHeight){ throw 'getMenuButtonBoundingClientRect error'; }
//部分机型(比如:Meizu Note5)获取到的胶囊按钮top小于状态栏statusBarHeight高度 if(rect.top < systemInfo.statusBarHeight){ throw 'getMenuButtonBoundingClientRect error'; }
真机调试获取到的信息:
真机截图:
解决后真机截图:
The text was updated successfully, but these errors were encountered:
魅族5是什么垃圾手机,赶紧淘汰吧
Sorry, something went wrong.
No branches or pull requests
原因:获取到的胶囊按钮top居然小于状态栏高度,导致计算gap不对
let gap = rect.top - systemInfo.statusBarHeight;
测试Meizu Note 5通过的解决办法解决,在navBar.js中加上
//部分机型(比如:Meizu Note5)获取到的胶囊按钮top小于状态栏statusBarHeight高度 if(rect.top < systemInfo.statusBarHeight){ throw 'getMenuButtonBoundingClientRect error'; }
真机调试获取到的信息:
真机截图:
解决后真机截图:
The text was updated successfully, but these errors were encountered: