You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slack example long press on message throws context.actionsheet is not a function error.
The issue is that when you overwrite the Bubble component you can no longer access the GiftedChatContext.
This causes the onLongPress action to be incorrect.
This is also an issue because it means that other people who decide to take greater control over the more complex rendering components will follow a bad pattern and lose potential upstream features.
Steps to Reproduce / Code Snippets
Copy the slack example into a new repository
Long press a chat message
Error appears
Expected Results
Expect the long press menu to appear
Additional Information
Nodejs version: 18.12.1
React version: 18.2.0
React Native version: 0.71.4
react-native-gifted-chat version: 2.0.1
Platform(s) (iOS, Android, or both?): both
TypeScript version: 4.9.4
The text was updated successfully, but these errors were encountered:
Issue Description
Slack example long press on message throws context.actionsheet is not a function error.
The issue is that when you overwrite the Bubble component you can no longer access the GiftedChatContext.
This causes the onLongPress action to be incorrect.
This is also an issue because it means that other people who decide to take greater control over the more complex rendering components will follow a bad pattern and lose potential upstream features.
Steps to Reproduce / Code Snippets
Copy the slack example into a new repository
Long press a chat message
Error appears
Expected Results
Expect the long press menu to appear
Additional Information
The text was updated successfully, but these errors were encountered: