Skip to content

Commit

Permalink
Address ship review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
quanganhdo committed Jan 17, 2024
1 parent 03faeb9 commit 21c5771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DuckDuckGo/Feedback/VPNFeedbackFormView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,11 @@ struct VPNFeedbackFormView: View {
guard isFocused else { return }
DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
withAnimation {
scrollView.scrollTo(1, anchor: .bottom)
scrollView.scrollTo(1, anchor: .top)
}
}
}
submitButton()
.id(1)
}
}
}
Expand Down Expand Up @@ -158,9 +157,10 @@ struct VPNFeedbackFormView: View {
.fixedSize(horizontal: false, vertical: true)

TextEditor(text: $viewModel.feedbackFormText)
.id(1)
.font(.body)
.foregroundColor(.primary)
.frame(height: 150)
.frame(height: 100)
.fixedSize(horizontal: false, vertical: true)
.onChange(of: viewModel.feedbackFormText) {
viewModel.feedbackFormText = String($0.prefix(1000))
Expand Down

0 comments on commit 21c5771

Please sign in to comment.