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
在使用overflow-x: scroll 左右滑动的时候,也可能会触发screenY的改变,会触发 transform 产生容器位移,会露出下拉箭头或文案 。 建议可支持添加一个可配置项,在小于某个位移量的时候,不触发transform。
const _diff = Math.round(_screenY - this._ScreenY); this._ScreenY = _screenY; this._lastScreenY += this.damping(_diff);
this.setContentStyle(this._lastScreenY);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在使用overflow-x: scroll 左右滑动的时候,也可能会触发screenY的改变,会触发 transform 产生容器位移,会露出下拉箭头或文案 。
建议可支持添加一个可配置项,在小于某个位移量的时候,不触发transform。
const _diff = Math.round(_screenY - this._ScreenY);
this._ScreenY = _screenY;
this._lastScreenY += this.damping(_diff);
this.setContentStyle(this._lastScreenY);
The text was updated successfully, but these errors were encountered: