Skip to content

Update blog post#946

Merged
devongovett merged 2 commits into
mainfrom
minor-updates-to-blog-post
Aug 12, 2020
Merged

Update blog post#946
devongovett merged 2 commits into
mainfrom
minor-updates-to-blog-post

Conversation

@snowystinger
Copy link
Copy Markdown
Member

attempt to make some sentences less confusing
add kbd wrappers around keys

Closes

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

attempt to make some sentences less confusing
add kbd wrappers around keys
Another interesting thing about touch events is that they can be canceled. For example, if you’re in the middle of touching a button and you get a phone call or other notification, your press cannot be completed due to an overlay covering the element you were touching.

Another case is scrolling. If you touch a button and then scroll the page, you likely did not intend to activate the button. So when you release your touch, it should not trigger the button’s press action. We need to disambiguate between these events and cancel the press as appropriate in order to behave as the user expects.
There are also cases where this does not happen automatically, and we need to recognize them, like scrolling. If you touch a button and then scroll the page, you likely did not intend to activate the button. So when you release your touch, it should not trigger the button’s press action. We need to disambiguate between these events and cancel the press as appropriate in order to behave as the user expects.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

onPointerCancel actually is fired on scroll. We do handle it explicitly in our fallback tho :)

@adobe-bot
Copy link
Copy Markdown

Build successful! 🎉

@devongovett devongovett merged commit f179efd into main Aug 12, 2020
@devongovett devongovett deleted the minor-updates-to-blog-post branch August 12, 2020 20:32
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