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

Channel List update events apparently stop upon customising the Preview component #136

Closed
BrantApps opened this issue Feb 12, 2020 · 1 comment
Assignees
Labels
Bug Something isn't working in the SDK

Comments

@BrantApps
Copy link

Describe the bug
Upon adding a custom Preview component to the ChatList component the channel deleted, channel added callbacks don't appear to work.

Dev environment info (please complete/provide the following information):

 "react-native": "^0.61.5",
 "stream-chat": "^1.3.1",
 "stream-chat-react-native": "^0.6.5",
  • Non device specific.

To Reproduce
Steps to reproduce the behavior:

  1. Customise the ChatList preview component with your own chat preview component
  2. Cause a channel change by deleting/hiding a channel from another device

Expected behavior

  • Customised ChatList updates as it would without the Preview component

Additional context

  • Having added a custom Preview component the added/deleted callbacks appear to stop?

I must be doing something wrong.

@BrantApps BrantApps added the Bug Something isn't working in the SDK label Feb 12, 2020
@BrantApps
Copy link
Author

This didn't make any sense to me when i saw it & it's not the fault of the library. We are migrating off a home-brew solution and the hot-reloading combined with the in-app switch to use Stream's components was causing the inconsitencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working in the SDK
Projects
None yet
Development

No branches or pull requests

2 participants