-
Notifications
You must be signed in to change notification settings - Fork 53
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: scroll to bottom, loading the feed without message #910
Conversation
File: packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx
File: packages/examples/sdk-frontend-react/src/app/app.tsx
|
File: packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx
All looks good. File: packages/examples/sdk-frontend-react/src/app/app.tsx
All looks good. File: packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx
All looks good. File: packages/uiweb/src/lib/hooks/chat/usePushChatSocket.ts
All looks good. |
@@ -387,7 +387,7 @@ export const ChatViewList: React.FC<IChatViewListProps> = ( | |||
} | |||
)} | |||
</Section> | |||
{chatFeed && | |||
{Object.keys(chatFeed || {}).length && |
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.
here add !!Object.keys(chatFeed || {}).length
File: packages/examples/sdk-frontend-react/src/app/ChatUITest/ChatViewComponent.tsx
File: packages/app/src/app.tsx
File: packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx
File: packages/uiweb/src/lib/hooks/chat/usePushChatSocket.ts
All looks good. |
No description provided.