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

Swipe 卷帘组件 如果图层本设置了mask 掩膜,掩膜不生效 #2323

Closed
lzxue opened this issue Feb 28, 2024 · 2 comments · Fixed by #2322
Closed

Swipe 卷帘组件 如果图层本设置了mask 掩膜,掩膜不生效 #2323

lzxue opened this issue Feb 28, 2024 · 2 comments · Fixed by #2322
Assignees

Comments

@lzxue
Copy link
Contributor

lzxue commented Feb 28, 2024

问题描述

https://riddle.alibaba-inc.com/riddles/828fdf5b

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@lvisei
Copy link
Member

lvisei commented Mar 1, 2024

  • 图层使用了 maskLayers 淹没属性作为 API
  • swipe 组件用的 layer.addMask() 和 layer.updateLayerConfig({maskInside}) API 🔗

@lvisei
Copy link
Member

lvisei commented Mar 1, 2024

看上去是 layer 动态添加 addMask 的问题 https://riddle.alibaba-inc.com/riddles/5afea082

@lzxue lzxue linked a pull request Mar 5, 2024 that will close this issue
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants