Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/sample-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
build_and_deploy_ios_testflight_qa:
name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/V5' }}
runs-on: [macos-14]
runs-on: [macos-15]
steps:
- name: Connect Bot
uses: webfactory/ssh-agent@v0.7.0
Expand All @@ -25,15 +25,17 @@ jobs:
- name: Install && Build - SDK and Sample App
uses: ./.github/actions/install-and-build-sdk
- name: Cache iOS pods
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: examples/SampleApp/ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('examples/SampleApp/ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: iOS Pods setup
working-directory: examples/SampleApp/ios
run: bundle exec pod install
run: |
pod update hermes-engine --no-repo-update
bundle exec pod install
- name: Build and release Testflight QA
working-directory: examples/SampleApp
run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/V5' }};
Expand Down
3 changes: 2 additions & 1 deletion package/src/components/Channel/Channel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const reactionData: ReactionData[] = [
* If count of unread messages is less than 4, then no need to scroll to first unread message,
* since first unread message will be in visible frame anyways.
*/
const scrollToFirstUnreadThreshold = 4;
const scrollToFirstUnreadThreshold = 0;

const defaultThrottleInterval = 500;
const defaultDebounceInterval = 500;
Expand Down Expand Up @@ -1042,6 +1042,7 @@ const ChannelWithContext = <
},
() => {
if (unreadMessageIdToScrollTo) {
setTargetedMessage(unreadMessageIdToScrollTo);
restartSetsMergeFuncRef.current();
}
},
Expand Down
Loading