Skip to content

Commit

Permalink
fix: Background 터치시 키보드 내려가도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Seokki-Kwon committed Nov 15, 2024
1 parent ca18dae commit 40237ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions HongikYeolgong2/Presentation/Auth/SignUp/SignUpView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct SignUpView: View {
),
placeholder: "",
items: Department.allDepartments
)
)
}
.layoutPriority(2)
}
Expand All @@ -79,12 +79,15 @@ struct SignUpView: View {
Department.allDepartments.contains(inputDepartment)))
)
.padding(.bottom, 20.adjustToScreenHeight)
}
}
.overlay(alignment: .topLeading, content: {
FormTitle(title: "회원가입")
})
.toolbar(.hidden, for: .navigationBar)
.padding(.horizontal, 32.adjustToScreenWidth)
.onTapGesture {
UIApplication.shared.hideKeyboard()
}
.onChange(of: inputNickname) {
userDataInteractor.validateUserNickname(inputNickname: $0, nickname: $nickname)
}
Expand Down

0 comments on commit 40237ad

Please sign in to comment.