Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

fix(tooltip): use pointerdown event for touch#233

Merged
boilund merged 1 commit intoAxisCommunications:mainfrom
danielkaxis:tooltiptouch
Jun 27, 2022
Merged

fix(tooltip): use pointerdown event for touch#233
boilund merged 1 commit intoAxisCommunications:mainfrom
danielkaxis:tooltiptouch

Conversation

@danielkaxis
Copy link
Copy Markdown
Collaborator

Using pointerdown event instead of click
and toggle only if pointerType is not mouse

Co-authored-by: Mauricio Espinoza Mauricio.Espinoza@axis.com
Co-authored-by: Victor Ingvarsson Victor.Ingvarsson@axis.com

Checklist before requesting a review

  • I have performed a self-review of my own code
  • I have verified that the code builds perfectly fine on my local system
  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have verified that my code follows the style already available in the repository
  • I have made corresponding changes to the documentation
    tooltipfix

Using pointerdown event instead of click
and toggle only if pointerType is not `mouse`

Co-authored-by: Mauricio Espinoza <Mauricio.Espinoza@axis.com>
Co-authored-by: Victor Ingvarsson <Victor.Ingvarsson@axis.com>
@danielkaxis danielkaxis requested a review from Tigge as a code owner June 16, 2022 09:02
Copy link
Copy Markdown
Collaborator

@boilund boilund left a comment

Choose a reason for hiding this comment

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

It looks good. Did you confirm that it solves the issue?

@danielkaxis
Copy link
Copy Markdown
Collaborator Author

@boilund Yes, double-checked again and works fine.

@boilund boilund merged commit 539c032 into AxisCommunications:main Jun 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tooltip doesn't disappear

2 participants