Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Commit a920d02

Browse files
Documentation for avoid keyboard modifier
1 parent 0991e4f commit a920d02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/ASCollectionView/ASCollectionView+Modifiers.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ public extension ASCollectionView
133133
return this
134134
}
135135

136-
/// Set whether the ASCollectionView should dodge the system keyboard
136+
/// Set whether the ASCollectionView should scroll the collection view in order to keep the current input field visible when the system keyboard appears.
137+
/// The default value is `true`
137138
func shouldAvoidKeyboard(_ avoidKeyboard: Bool = true) -> Self {
138139
var this = self
139140
this.dodgeKeyboard = avoidKeyboard

0 commit comments

Comments
 (0)