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
BUG 描述
在 mip-carousel 渲染前,由于其中包含多个 mip-img,高度为各个 mip-img、占位符的高度之和,如果高度大于视窗高度,就会出现滚动条,因此 mip-carousel 渲染时的相关值会受滚动条影响,而在渲染后 mip-carousel 的实际高度小于视窗,不会出现滚动条,因此造成图片偏移了一个滚动条宽度。
复现步骤
<mip-carousel layout="responsive" width="600" height="264"> <mip-img src="..."> <mip-img src="..."> <mip-img src="..."> </mip-carousel>
期望结果
不发生偏移,mip-carousel 渲染前高度不应被子元素撑开
截图
环境及版本信息: PC,Chrome
The text was updated successfully, but these errors were encountered:
No branches or pull requests
BUG 描述
在 mip-carousel 渲染前,由于其中包含多个 mip-img,高度为各个 mip-img、占位符的高度之和,如果高度大于视窗高度,就会出现滚动条,因此 mip-carousel 渲染时的相关值会受滚动条影响,而在渲染后 mip-carousel 的实际高度小于视窗,不会出现滚动条,因此造成图片偏移了一个滚动条宽度。
复现步骤
<mip-carousel layout="responsive" width="600" height="264"> <mip-img src="..."> <mip-img src="..."> <mip-img src="..."> </mip-carousel>
期望结果
不发生偏移,mip-carousel 渲染前高度不应被子元素撑开
截图
环境及版本信息:
PC,Chrome
The text was updated successfully, but these errors were encountered: