답변 완료 화면에서 답변이 한 개 일 시 스크롤이 안되는 현상 해결 #92
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.
기존에 답변 완료 뷰에서 답변이 한 개 이면,
SwiftUIPagerView
가disabled
되어 수직 스크롤이 동작하지 않는 이슈가 있음( 앱스토어 리뷰에도 존재 )
아래 영상은 한 개 일 때는 스크롤이 안되는데, 두 개 일 때는 스크롤이 동작함.
2023-09-11.4.13.11.mov
기존에
disabled
한 이유는 한 개 일 때 수평 스크롤을 막기 위함이었음.수직 스크롤도 막기에, 수평 스크롤을 막는 로직은
SwiftUIPagerView
으로 스크롤뷰를 사용하지 않는 것으로 변경하였음.수정 이후 한 개 일 때 스크롤이 동작함
2023-09-11.4.18.13.mov