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

FAB double haptic experiment #5886

Merged
merged 1 commit into from
Oct 21, 2024
Merged

FAB double haptic experiment #5886

merged 1 commit into from
Oct 21, 2024

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Oct 21, 2024

Buzzes on press in and on press out, with a stronger buzz on long press

Curious how this feels

@arcalinea arcalinea temporarily deployed to samuel/fab-double-haptic - social-app PR #5886 October 21, 2024 13:32 — with Render Destroyed
Copy link

Old size New size Diff
7.9 MB 7.9 MB 254 B (0.00%)

Copy link
Member

@estrattonbailey estrattonbailey left a comment

Choose a reason for hiding this comment

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

Tested on device, feels great

@mozzius mozzius merged commit f6649e2 into main Oct 21, 2024
9 checks passed
@mozzius mozzius deleted the samuel/fab-double-haptic branch October 21, 2024 16:20
},
isHapticsDisabled ? 0 : 75,
)
setTimeout(() => onPress?.(e), isHapticsDisabled ? 0 : 75)
Copy link
Contributor

Choose a reason for hiding this comment

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

Just as a note, we probably want to get rid of this setTimeout here. I believe it was originally used for the composer FAB, in which case the timeout lets you see the animation of the fab before the sheet begins to present. In general though, we want to prefer fast response rather than seeing the animation imo

rshigg pushed a commit to rshigg/social-app that referenced this pull request Nov 2, 2024
rshigg pushed a commit to rshigg/social-app that referenced this pull request Nov 2, 2024
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.

4 participants