I found a liquid glass bug

When I use rotation3DEffect to rorate a UI element with liquid glass, the liquid glass turns black and expands


struct TestCardView: View {
    @State var  rotation:CGFloat = 0.0
    
    @State var vertical: Double = 0
    @State var horizontal: Double = 0
    
    var body: some View {
        ZStack {
            Image("paintImage")
                .resizable()
                .scaledToFill()
                .ignoresSafeArea()
                .blur(radius: 10)

            // Card container
            ZStack {
                // Add content here
                Image("paintImage")
                    .resizable()
                    .clipShape(RoundedRectangle(cornerRadius: 20))
                    .padding(10)
                VStack {
                    Spacer()
                    
                    Text("Placeholder text Placeholder text Placeholder text Placeholder text ")
                        .multilineTextAlignment(.center)
                        .padding(12)
                        .glassEffect(.clear, in: RoundedRectangle(cornerRadius: 12, style: .continuous))
                        .shadow(color: .black.opacity(0.2), radius: 8, x: 0, y: 4)
                        .padding(.bottom, 8)

                }
                .padding(25)
                
                
            }
            .frame(width: 360, height: 600)
            .clipShape(RoundedRectangle(cornerRadius: 20))
            .glassEffect(.clear, in: RoundedRectangle(cornerRadius: 20))
            .rotation3DEffect(.degrees(vertical),axis: (x: 1, y: 0, z: 0))
            .rotation3DEffect(.degrees(horizontal),axis: (x: 0, y: 1, z: 0))
            .gesture(
                DragGesture(minimumDistance: 0)
                    .onChanged { value in
                        withAnimation{
                            vertical = min(max(Double(value.translation.height / 10), -20), 20)
                            horizontal = min(max(Double(value.translation.width / 10), -15), 15)
                        }
                    }
                    .onEnded { _ in
                        withAnimation(.easeOut(duration: 0.5)) {
                            vertical = 0
                            horizontal = 0
                        }
                    }
            )
            
        }
        
    }
}

Thanks for the post.

What about when you set UIDesignRequiresCompatibility? Do you have the same results? What versions are you running? https://developer.apple.com/documentation/BundleResources/Information-Property-List/UIDesignRequiresCompatibility

Could you please provide a focused sample project that you can share with me so that I can examine the animation issue?

Alternatively, you can report the bug by providing a focused sample using the latest version of Xcode. Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Albert Pascual
  Worldwide Developer Relations.

@WeAreAllSatoshi

Thanks for the reply and thank you for providing this information. I recommend monitoring the report as the engineering team will be sharing updates there.

There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.

For more details on when you'll see updates to your report, please see What to expect after submission.

Albert Pascual
  Worldwide Developer Relations.

I found a liquid glass bug
 
 
Q