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

[picker] picker在IOS真机下出下被遮住问题,可能与scroll-view有关 #2526

Closed
mipaifu328 opened this issue Jan 2, 2024 · 8 comments
Labels
question This is a question, not a bug

Comments

@mipaifu328
Copy link

tdesign-miniprogram 版本

1.2.6

重现链接

https://developers.weixin.qq.com/s/BCY7kUmu7JNK

重现步骤

picker在IOS真机下出下被遮住问题,可能与scroll-view有关

期望结果

image

实际结果

image

基础库版本

3.2.5

补充说明

No response

Copy link
Contributor

github-actions bot commented Jan 2, 2024

👋 @mipaifu328,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@mipaifu328
Copy link
Author

发现ios popup相关的都会被遮挡

1 similar comment
@mipaifu328
Copy link
Author

发现ios popup相关的都会被遮挡

@ZHUBoer
Copy link

ZHUBoer commented Jan 25, 2024

同样的问题,这个能否解决呢?还是有方法去规避?t-picker的弹窗会被页面元素遮挡。

@mipaifu328
Copy link
Author

同样的问题,这个能否解决呢?还是有方法去规避?t-picker的弹窗会被页面元素遮挡。

只能把popup类的弹窗全部放到scroll-view外面

@anlyyao
Copy link
Collaborator

anlyyao commented Feb 5, 2024

@mipaifu328 @ZHUBoer 微信小程序中的原生组件层级是最高的,不受 z-index 控制。 root-portal 可以解决你的问题,详情见文档

@anlyyao anlyyao added the question This is a question, not a bug label Feb 5, 2024
@mipaifu328
Copy link
Author

@mipaifu328 @ZHUBoer 微信小程序中的原生组件层级是最高的,不受 z-index 控制。 root-portal 可以解决你的问题,详情见文档

感谢回复,确实可以,学到了!

@anlyyao
Copy link
Collaborator

anlyyao commented Feb 5, 2024

@mipaifu328 @ZHUBoer 微信小程序中的原生组件层级是最高的,不受 z-index 控制。 root-portal 可以解决你的问题,详情见文档

感谢回复,确实可以,学到了!

👌 那我这边就先关闭 issue 了,如果有新问题欢迎重新开贴讨论~

@anlyyao anlyyao closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

3 participants