-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
嵌套的swiper无法正常渲染 #7692
Comments
业务会存在这种情况吗,不支持递归 template 调用的小程序(wx、qq、jd)目前默认 Swiper 不允许调用自身。 |
@Chen-jj 小程序本身支持的功能我想不该被限制吧。 |
业务会存在此情况,目前小程序做视频或者直播的业务都比较多,类似快手短视频、爱逛小程序。场景是左右滑动首页、上下滑动列表。是否可以考虑支持3层以内的嵌套 @Chen-jj |
@Chen-jj 你确定修复了? [渲染层错误] TypeError: Cannot read property '$$' of undefined |
我也遇到了你这个报错,但是不是因为嵌套引起的,就是普通的swiper和swiper-item这样,然后swiper-item在小程序里面看到的是view就很奇怪了 @Chen-jj 请问这个问题需要怎么解决呢 |
相关平台
微信小程序
复现仓库
https://github.com/Clear2/taro-reports
小程序基础库: 2.10.2
使用框架: React
复现步骤
期望结果
swiper-item 里的嵌套的 swiper组件正常渲染出来
实际结果
swiper-item 里的swiper组件没有渲染出来
环境信息
The text was updated successfully, but these errors were encountered: