scrollClipDisabled not support Form

scrollClipDisabled seems only support ScrollView. I tried to add scrollClipDisabled to a Form but it did not work.

Replies

Hey , can you share the code to help get a better understanding ?

var body: some View {
        NavigationStack {
            Form {
                Section {
                    Picker("播放速度", selection: $playSpeed) {
                        ForEach(speeds, id: \.self) { speed in
                            Text(String(speed))
                        }
                    }
                } header: {
                    Text("播放器")
                }
            }
            .scrollClipDisabled()
        }
    }