-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add feedback for long press on iOS #148922
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
Conversation
justinmc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits 👍
| /// no-op as that platform usually doesn't provide feedback for long presses. | ||
| /// On Android the platform-typical vibration is triggered. On iOS a | ||
| /// heavy-impact haptic feedback is triggered, alongside the click system | ||
| /// sound. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: "sound, which was observed to be the default behavior on a physical <iPhone version> running <iOS version>."
| /// press. | ||
| /// On Android the platform-typical vibration is triggered. On iOS a | ||
| /// heavy-impact haptic feedback is triggered, alongside the click system | ||
| /// sound. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably also include the iOS device and version here.
JhonySpark
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good solution
|
auto label is removed for flutter/flutter/148922, due to - The status or check suite Linux web_long_running_tests_2_5 has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Adds the click system sound and heavy-impact haptic feedback to iOS on long presses. Fixes flutter#148391
Adds the click system sound and heavy-impact haptic feedback to iOS on long presses.
Fixes #148391
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.