fix: avoid locking scroll for contact-list in new-chat sheet
This commit is contained in:
parent
a1e3bb3bd6
commit
7021d5ec78
|
@ -86,7 +86,7 @@
|
||||||
item]))
|
item]))
|
||||||
|
|
||||||
(defn view
|
(defn view
|
||||||
[{:keys [scroll-enabled? on-scroll close]}]
|
[{:keys [on-scroll close]}]
|
||||||
(let [theme (quo.theme/use-theme)
|
(let [theme (quo.theme/use-theme)
|
||||||
contacts (rf/sub [:contacts/sorted-and-grouped-by-first-letter])
|
contacts (rf/sub [:contacts/sorted-and-grouped-by-first-letter])
|
||||||
selected-contacts-count (rf/sub [:selected-contacts-count])
|
selected-contacts-count (rf/sub [:selected-contacts-count])
|
||||||
|
@ -137,7 +137,6 @@
|
||||||
:render-section-footer-fn contact-list/contacts-section-footer
|
:render-section-footer-fn contact-list/contacts-section-footer
|
||||||
:content-container-style {:padding-bottom 70}
|
:content-container-style {:padding-bottom 70}
|
||||||
:render-fn render-fn
|
:render-fn render-fn
|
||||||
:scroll-enabled @scroll-enabled?
|
|
||||||
:on-scroll on-scroll}])
|
:on-scroll on-scroll}])
|
||||||
(when contacts-selected?
|
(when contacts-selected?
|
||||||
[rn/view
|
[rn/view
|
||||||
|
|
Loading…
Reference in New Issue