Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
pikacode committed Mar 17, 2024
1 parent b31c83d commit bf6e0c1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/PopupUI/PopupConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ extension PopupConfiguration {
config.isAvoidKeyboard = isAvoidKeyboard
config.padding = padding
config.isSafeArea = isSafeArea
config.keyboardPadding = keyboardPadding
config.dismissCallback = dismissCallback
return config
}
Expand Down Expand Up @@ -157,6 +158,12 @@ extension PopupConfiguration {
return self
}

@discardableResult
public func keyboardPadding(_ v: CGFloat) -> Self {
keyboardPadding = v
return self
}

}

class KeyboardHeightHelper: ObservableObject {
Expand Down

0 comments on commit bf6e0c1

Please sign in to comment.