Skip to content

fix: touch below element after touch today button in smartphone #91

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

Merged
merged 2 commits into from
Sep 30, 2021

Conversation

jajugoguma
Copy link
Contributor

Please check if the PR fulfills these requirements

  • It's submitted to right branch according to our branching model
  • It's right issue type on title
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • It does not introduce a breaking change or has description for the breaking change

Description

  • Fixed the problem of touched the element below together after touching the today button on the smartphone.
    • Change the today button to implement a click event rather than implementing it through a today event.

As-Is
2021-09-16-34348

To-Be
2021-09-16-35559


Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

@@ -144,8 +142,6 @@ var Header = defineClass(

if (closest(target, SELECTOR_BTN)) {
this.fire('click', ev);
} else if (closest(target, TODAY_TITLE_ELEM)) {
this.fire('today');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

today 이벤트는 v4.3.0에서 today 버튼 기능 구현을 위해 추가한 이벤트 입니다.
그러나 구현 방법의 변경으로 인해 내부적으로 더 이상 today 이벤트가 필요하지 않게 되었습니다.
해당 이벤트를 삭제해도 되는지 궁금합니다!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

외부로 나가지않으면 제거해도 되지 않나요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lja1018 넵, 외부로 나가지 않는 이벤트여서 저도 삭제하는 것으로 작업 했습니다.

Copy link
Contributor

@lja1018 lja1018 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰완료합니다.

@@ -144,8 +142,6 @@ var Header = defineClass(

if (closest(target, SELECTOR_BTN)) {
this.fire('click', ev);
} else if (closest(target, TODAY_TITLE_ELEM)) {
this.fire('today');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

외부로 나가지않으면 제거해도 되지 않나요?

Copy link

@js87zz js87zz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 완료합니다~!

@jajugoguma jajugoguma merged commit 9de9f7c into master Sep 30, 2021
@jajugoguma jajugoguma deleted the fix/touch-below-element-together branch September 30, 2021 07:16
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.

3 participants