🎡 Don't scroll on press (#18662)

- Hack fix
- Scroll on press breaks something with FlatList
- Which causes some items to not render
- Could be related to scroll view inside scroll view
- But fixing this bug by compromising the UX a tiny bit
This commit is contained in:
Shivek Khurana 2024-01-30 08:32:20 +00:00 committed by GitHub
parent f57a26b5f5
commit 0349b0ed3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 8 deletions

View File

@ -168,14 +168,13 @@
[local-suggestions-list]]] [local-suggestions-list]]]
[:<> [:<>
[quo/tabs [quo/tabs
{:style style/tabs {:style style/tabs
:container-style style/tabs-content :container-style style/tabs-content
:size 32 :size 32
:default-active selected-tab :default-active selected-tab
:data tabs-data :data tabs-data
:scrollable? true :scrollable? true
:scroll-on-press? true :on-change on-change-tab}]
:on-change on-change-tab}]
[tabs/view {:selected-tab selected-tab}]])])))) [tabs/view {:selected-tab selected-tab}]])]))))
(defn view (defn view