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: animation start event breaking ui responsiveness #2941

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

isekovanic
Copy link
Contributor

🎯 Goal

Should fix this Github issue.

The TL;DR is that the gesture was getting rid of its own activation criteria and relying on manual activation. In these cases, if the gesture is indeed recognized (for example from a long press) but the state is not managed manually it will not know how to recover properly (for example state.fail() if it's not the correct gesture).

As there isn't enough time for the gesture to actually fail before the bottom sheet pops up, the entire handling was caught in a weird state.

🛠 Implementation details

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@Stream-SDK-Bot
Copy link
Contributor

SDK Size

title develop branch diff status
js_bundle_size 468 KB 468 KB 0 B 🟢

@khushal87 khushal87 merged commit 621da62 into develop Feb 11, 2025
5 checks passed
@khushal87 khushal87 deleted the fix/animation-breaking-ui-responsiveness branch February 11, 2025 10:04
@github-actions github-actions bot mentioned this pull request Feb 11, 2025
6 tasks
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 6.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🔥[🐛] v6 Unresponsive Channel component after closing MessageMenu bottom sheet - Expo SDK 52
5 participants