Skip to content

fix: [TA-209] ButtonActive 비활성 상태에서도 onClick 호출됨#94

Merged
seorinn merged 2 commits into
developfrom
TA-209-fix-button-active-disabled
May 11, 2026
Merged

fix: [TA-209] ButtonActive 비활성 상태에서도 onClick 호출됨#94
seorinn merged 2 commits into
developfrom
TA-209-fix-button-active-disabled

Conversation

@seorinn

@seorinn seorinn commented May 11, 2026

Copy link
Copy Markdown
Collaborator

요약

  • ButtonActive 컴포넌트에 disabled={!activation} 속성 추가
  • activation=false 상태에서 버튼 클릭 시 onClick 콜백이 실행되던 버그 수정

변경 내용

src/components/ButtonActive/index.tsx

  • disabled={!activation} 속성 추가 → 브라우저 네이티브 disabled 처리로 click 이벤트 차단

테스트 방법

  • ButtonActive를 사용하는 폼 화면 진입
  • 필수 입력 미완료 상태(activation=false)에서 버튼 클릭
  • onClick 콜백이 실행되지 않는지 확인
  • activation=true 상태에서 버튼 클릭 시 정상 동작 확인

관련 이슈

TA-209

@vercel

vercel Bot commented May 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
damaba Ready Ready Preview, Comment May 11, 2026 6:43am

@seorinn seorinn force-pushed the TA-209-fix-button-active-disabled branch from 34b970e to a42c280 Compare May 11, 2026 06:42
@seorinn seorinn marked this pull request as ready for review May 11, 2026 06:44
@seorinn seorinn merged commit 93c669f into develop May 11, 2026
3 checks passed
@seorinn seorinn deleted the TA-209-fix-button-active-disabled branch May 11, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant