MatchedGeometryEffectClipShapeModifierExample buggy behavior
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Run ./setup.sh to use Apple's AttributeGraph backend, then set MatchedGeometryEffectClipShapeModifierExample as the root view and reproduce the transition. Compare it with MatchedGeometryEffectModifierExample and trace the clipShape overload and .clipRect rendering path. Done means the clipped content matches SwiftUI's compositing order during the transition and finishes aligned with the destination frame.
索引モデルが issue の本文から書いたものです。
説明
Description
MatchedGeometryEffectClipShapeModifierExample does not render the same transition in OpenSwiftUI as it does in SwiftUI. The standard MatchedGeometryEffectModifierExample now behaves correctly, so the remaining problem appears specific to the clipShape overload and .clipRect rendering path.
Reproduction
Due to jcmosc/Compute#60, set up the project with Apple's AttributeGraph backend:
./setup.sh
Do not use ./setup.sh --compute, because the example currently crashes with the Compute/IAG backend.
Then use the clip-shape example as the root view:
struct ContentView: View {
var body: some View {
MatchedGeometryEffectClipShapeModifierExample()
}
}
Run the Example app with OpenSwiftUI.
Expected behavior
The clipped content transitions between the source and destination frames with the same compositing order as SwiftUI, then finishes exactly at the destination frame.
Actual behavior
The transitioning clipped content remains visually on top throughout the animation, and its final rendered position does not align with the destination endpoint.
- 主要言語
- Swift
- スター
- 2.5k
- フォーク
- 84
- 平均マージ
- 2時間 10分
- マージ済み PR(30日)
- 62
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenSwiftUIProject/OpenSwiftUI のほかの issue
-
Add Accessibility support対応中かも @Kyle-Ye が 16 日前に担当しました。 オープンarea: accessibility area: hosting-bridge type: feature
OpenSwiftUIProject/OpenSwiftUI#1112 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Add Gauge supportオープンarea: rendering area: view type: feature
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
OpenSwiftUIProject/OpenSwiftUI#1022 ·
メンテナーはふだん 1 日以内に返信
-
Add List supportオープンarea: layout area: rendering area: view type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
OpenSwiftUIProject/OpenSwiftUI#919 ·
メンテナーはふだん 1 日以内に返信
-
area: layout area: rendering area: view type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
OpenSwiftUIProject/OpenSwiftUI#918 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: compatibility area: view type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
OpenSwiftUIProject/OpenSwiftUI#917 ·
メンテナーはふだん 1 日以内に返信
OpenSwiftUIProject/OpenSwiftUI の issue をすべて見る
似ている issue
-
If a snippet replacement starts with a newline, it truncates the first parts of the replacement.オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
margelo/react-native-vision-camera#4216 ·
メンテナーはふだん 4 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9272 ·
メンテナーはふだん 1 日以内に返信
-
[Feature] 建议出下卸载方法オープンenhancement
難易度 1/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信