Skip to content

Commit

Permalink
Add button to dismiss keyboard in the SL/TP screen (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang authored Dec 17, 2024
1 parent 4a1068b commit 39b9063
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public class dydxTakeProfitStopLossViewModel: PlatformViewModel {
.onTapGesture {
PlatformView.hideKeyboard()
}
.keyboardAccessory(background: .layer3, parentStyle: parentStyle)

// make it visible under the tabbar
return AnyView(view.ignoresSafeArea(edges: [.bottom]))
Expand Down

0 comments on commit 39b9063

Please sign in to comment.