Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reset file input using ref to allow re-selection of the same file #1405

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

jooyeongmee
Copy link
Contributor

요약 *

It closes #1404

지원금 파일 업로드 되지 않는 이슈 발생

  • 재현해보니 랜덤으로 가끔 파일이 업로드 되지 않음
  • 특히 파일 추가 > 삭제 > 동일한 파일 다시 추가 했을 때에 조금 더 자주 파일 업로드 되지 않는 이슈가 생김

같은 파일 추가 시 onChange 함수가 제대로 트리거 되지 않아 발생할 수 있다고 생각되여 인풋 초기화하는 로직 추가함

스크린샷

이후 Task *

  • 없음

@jooyeongmee jooyeongmee merged commit ff78b90 into dev Jan 31, 2025
1 check passed
@jooyeongmee jooyeongmee deleted the 1404-fileupload-issue branch January 31, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fileupload issue
2 participants