Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

MatchedGeometryEffectClipShapeModifierExample buggy behavior

オープン
#984 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
swift
領域
frontend

調査の方向性

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 の本文から書いたものです。

説明

area: animation area: rendering contrib: help wanted impact: visual-diff type: bug

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenSwiftUIProject/OpenSwiftUI のほかの issue

OpenSwiftUIProject/OpenSwiftUI の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。