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

fix(ui): alternate Apple Pencil interaction fixes #7048

Merged
merged 2 commits into from
Oct 6, 2024

Conversation

psychedelicious
Copy link
Collaborator

Summary

  • Reverts the onClick -> onPointerUp changes, which fixed Apple Pencil interactions of buttons with tooltips but broke things in other subtle ways.
  • Adds a default openDelay on tooltips of 500ms. This is another way to fix Apple Pencil interactions, and according to some searching online, is the best practice for tooltips anyways. The default behaviour should be for there to be a delay, and only in specific circumstances should there be no delay. So we'll see how this is received.

Related Issues / Discussions

https://discord.com/channels/1020123559063990373/1149506274971631688/1292519699246088306

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

- Reverts the `onClick -> onPointerUp` changes, which fixed Apple Pencil interactions of buttons with tooltips but broke things in other subtle ways.
- Adds a default `openDelay` on tooltips of 500ms. This is another way to fix Apple Pencil interactions, and according to some searching online, is the best practice for tooltips anyways. The default behaviour  should be for there to be a delay, and only in specific circumstances should there be no delay. So we'll see how this is received.
@github-actions github-actions bot added frontend-deps PRs that change frontend dependencies frontend PRs that change frontend files labels Oct 6, 2024
@psychedelicious psychedelicious merged commit 7105a22 into main Oct 6, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/ui/pointer-event branch October 6, 2024 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files frontend-deps PRs that change frontend dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants