fix scroll to index error when swtiching tab on the messaging screen (#20407)

This commit is contained in:
John Ngei 2024-06-14 12:37:11 +02:00 committed by GitHub
parent 24068dad5c
commit 8b424b0669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@
{:selected-tab :tab/contacts
:tab->content (empty-state-content theme)}]
[rn/section-list
{:ref set-scroll-ref
{:ref (when (not-empty items)
set-scroll-ref)
:key-fn :public-key
:get-item-layout get-item-layout
:content-inset-adjustment-behavior :never