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

RTL开启flipsHorizontallyInOppositeLayoutDirection collectionView的mj_header会出现镜像 #1616

Closed
4dmoonlight opened this issue Oct 26, 2024 · 2 comments
Labels
feature 新功能建议

Comments

@4dmoonlight
Copy link

描述bug
系统切换到阿拉伯语,给UICollectionViewFlowLayout增加flipsHorizontallyInOppositeLayoutDirection返回true,设置mj_header

必现/偶发?
必现

怎么样重现这个bug
自定义一个header,添加stackview,并设置图标和文字,水平排列。
UICollectionViewFlowLayout设置flipsHorizontallyInOppositeLayoutDirection为true,并切换到阿拉伯语。
整个header被镜像,像是旋转了180度,而不是仅仅的左右view互换。

你期望的结果是什么?
header只是从右到左布局,但不是被镜像的效果

运行环境

  • iPhone15
  • iOS17
  • Xcode15.4
Repository owner deleted a comment from gitph101 Nov 14, 2024
Repository owner deleted a comment from 309598016 Nov 14, 2024
@wolfcon wolfcon added the detail-Need(Demo) 需要更多信息 label Nov 28, 2024
@wolfcon

This comment was marked as resolved.

@wolfcon wolfcon added feature 新功能建议 and removed bug detail-Need(Demo) 需要更多信息 labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新功能建议
Projects
None yet
Development

No branches or pull requests

2 participants