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
@@ -1306,6 +1306,15 @@ open class EditorView: UIView {
1306
1306
richTextView.recalculateHeight(size: size)
1307
1307
}
1308
1308
1309
+
/// Set the behavior for how Editor size would be updated based on content
1310
+
/// - Parameter isAutogrowing: When `true`, uses custom calculation and constrains to size editor based on content. This is typically the case where
1311
+
/// 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
1312
+
/// 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