Closed screenworker closed 9 months ago
It would be nice if the text editor offered a way to disable the scrollview. Ideally, the height of the text editor should also be fixed so that the text editor can also be used inside a SwiftUI ScrollView or List.
import SwiftUI ScrollView { RichTextEditor(text: text, context: context) .onAppear { context.scrollingDisabled = true } }
It would be nice if the text editor offered a way to disable the scrollview. Ideally, the height of the text editor should also be fixed so that the text editor can also be used inside a SwiftUI ScrollView or List.