[FIX] 링크 저장 모달 키보드 대응 및 링크 추가 입력 동작 개선#79
Merged
Conversation
minsoo0506
approved these changes
May 31, 2026
minsoo0506
left a comment
There was a problem hiding this comment.
코멘트 남길만한 부분은 없는 것 같습니다! 고생하셨습니다 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #78
개요
링크 저장 시 표시되는 URL 제목 저장 모달에도 키보드 노출 대응을 적용하고, 링크 추가 화면의 URL 입력 키보드 동작을 입력 모달들과 동일한 방향으로 개선했습니다.
기존 #54 / PR #63에서는 링크 제목 수정 모달과 폴더명 수정 모달에 키보드 show/hide 이벤트 기반 하단 여백 보정, 완료/done 키 저장 동작 제거, Modal onShow 이후 수동 focus 처리를 적용했습니다.
이번 작업에서는 누락되어 있던 링크 저장 모달에도 동일한 키보드 대응 방식을 적용했습니다. 키보드가 올라온 상태에서도 입력창과 취소/저장 버튼을 확인할 수 있도록 하단 inset을 조정하고, 작은 화면에서도 버튼이 키보드에 가려지지 않도록 모달 내부 여백과 높이를 함께 보완했습니다.
또한 링크 추가 화면의 URL 입력칸은 화면 진입 시 자동으로 키보드가 올라오도록 focus 처리를 추가하고, 키보드 우측 버튼을 검색 동작이 아닌 완료/done 동작으로 변경했습니다. 이제 키보드의 체크 표시를 눌러도 검사가 시작되지 않고 키보드만 닫히며, 실제 검사는 화면의 검사 버튼을 눌렀을 때만 실행됩니다.
주요 구현 내용
ScrollView로 감싸 작은 화면 대응 보완autoFocus제거Modal.onShow이후 100ms 뒤 수동 focus 방식으로 변경search에서done으로 변경Keyboard.dismiss만 실행하도록 변경파일별 역할
components/ui/link-save-modal.tsx: 링크 저장 모달의 키보드 대응, 하단 위치 보정, 모달 크기 조정, 입력 focus 안정화, 제목 입력 초기화 버튼 추가app/(tabs)/(home)/add-link.tsx: 링크 추가 화면 URL 입력칸 자동 focus 처리, 키보드 완료 키 동작 변경해결한 이슈 목록
autoFocus를 제거하고Modal.onShow기반 수동 focus로 변경체크 사항
Screenshots or Video