You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Proton/Sources/Swift/Editor/EditorView.swift
+9
Original file line number
Diff line number
Diff line change
@@ -1307,6 +1307,15 @@ open class EditorView: UIView {
1307
1307
richTextView.recalculateHeight(size: size)
1308
1308
}
1309
1309
1310
+
/// Set the behavior for how Editor size would be updated based on content
1311
+
/// - Parameter isAutogrowing: When `true`, uses custom calculation and constrains to size editor based on content. This is typically the case where
1312
+
/// Editor is scrollable and needs to be confined to certain size using applied constraints. Use `false` in case Editor is itself non-scrollable but is hosted within
1313
+
/// another scroll container. This will use iOS's internal logic for sizing the Editor based on the height of the content and is generally better performing.
0 commit comments