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

remove event trigger component and check mouseposition and manually c… #6215

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

jonny-jeahyunchoi
Copy link
Contributor

@jonny-jeahyunchoi jonny-jeahyunchoi commented Oct 24, 2024

툴팁이 의도와 다르게 닫히거나 닫히지 않는 문제를 수정하였습니다.

  1. 기존에 사용하던 EventTrigger 컴포넌트를 통해 포인터의 진입 여부를 체크하는 방식을 수정하였습니다.
  2. 이 과정에서 EventTrigger를 제거하고, 대신 스크립트로 마우스의 위치와 오브젝트의 위치 및 크기를 비교하여 처리하도록 변경하였습니다.
  3. EventTrigger 방식에서는 특히 모바일 환경에서 문제가 발생하였습니다.
    • 마우스는 위치가 변경될 때마다 포인터 진입 여부를 확인하지만, 터치는 눌렀을 때만 인식되기 때문에 모바일에서만 발생하는 빈도 차이가 있었습니다.
  4. 이로 인해 발생하던 모바일 전용 이슈도 함께 해결되었습니다.
  5. 수동으로 마우스위치가 툴팁외부에 위치하더라도 플레그를 변경하는 케이스가있어 해당케이스보완조치도 진행하였습니다.

연관 이슈
#6209
#6058

@jonny-jeahyunchoi jonny-jeahyunchoi merged commit d02c140 into prepare/240.0.x Oct 24, 2024
16 checks passed
@jonny-jeahyunchoi jonny-jeahyunchoi deleted the fix/itemtooltip-close-error branch October 24, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged
3 participants