Skip to content

Commit

Permalink
fix: 수정 뷰에서 스크롤시 바로 키보드 내려가는 기능 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
k2645 committed Dec 5, 2024
1 parent f8f3a63 commit ad3a1ef
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ final class EditBookViewController: UIViewController {
leading: editPageTableView.leadingAnchor, constantLeading: 10,
height: 40
)
buttonStackViewBottomConstraint
= buttonStackView.bottomAnchor.constraint(
buttonStackViewBottomConstraint = buttonStackView.bottomAnchor.constraint(
equalTo: view.safeAreaLayoutGuide.bottomAnchor,
constant: Self.buttonBottomConstant
)
Expand All @@ -221,7 +220,7 @@ final class EditBookViewController: UIViewController {
object: nil
)
// 스크롤이 될 때 키보드 내려가게 설정
editPageTableView.keyboardDismissMode = .onDrag
editPageTableView.keyboardDismissMode = .interactive
}
private func configureBinding() {
let output = viewModel.transform(input: input.eraseToAnyPublisher())
Expand Down

0 comments on commit ad3a1ef

Please sign in to comment.