Skip to content

버튼 클릭 반응 지연 이슈 / Button Responsiveness Delay Issue #1

@Wendy-Nam

Description

@Wendy-Nam

KR / EN description

💬 Summary (요약)

현재 위젯은 기본 사용과 초기 언어 설정에 있어 안정적으로 작동합니다.
다만 동일 페이지에서 언어 전환을 여러 번 반복할 경우, 특정 버튼이 일시적으로 반응하지 않는 문제가 발생합니다. 다른 버튼을 클릭한 뒤 다시 시도하면 정상적으로 동작합니다.

The widget works reliably in normal usage and correctly applies initial language settings.
However, when switching languages repeatedly on the same page, some buttons occasionally become unresponsive until another button is clicked first.


✅ Confirmed (확인된 사항)

  • 시크릿 모드 및 캐시 없는 환경에서도 언어 URL 파라미터 기반 초기 설정은 정상적으로 작동함
  • 초기 렌더링 및 번역 적용 상태는 일치하며 문제 없음
  • In incognito mode and other cacheless environments, initial language setup via URL parameter works as expected
  • Initial rendering and translation state are properly applied

🚨 Condition (발생 조건)

  • 한 페이지 내에서 언어 스위치를 반복(5~6회 이상)할 경우
  • 특정 버튼이 클릭에 반응하지 않음
  • 다른 버튼 클릭 후 다시 누르면 정상 적용됨
  • Occurs when switching language multiple times (5~6+) on a single page
  • One button may become unresponsive
  • Clicking a different button and returning fixes the issue

💡 Suspected Cause (추정 원인)

  • Google Translate의 내부 레이턴시 또는 비동기 처리 지연
  • applyLang() 함수 내부의 timeout 처리 타이밍과 DOM 렌더링 상태 간 불일치 가능성
  • Possibly caused by Google Translate's internal latency or async update delay
  • Likely mismatch between applyLang() timeout and current DOM rendering state

🧪 Next Steps (다음 확인 예정)

  • applyLang() 실행 시점과 버튼 활성화 타이밍 정밀 검토
  • gtcombo() 선택 변경 후 실제 반영 여부 확인
  • 버튼 상태 갱신 로직 리팩토링 필요 여부 판단
  • Investigate precise timing of applyLang() vs. button activation
  • Verify if gtcombo() properly reflects selected state
  • Evaluate whether active button state logic should be refactored

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions