Compare commits

...
2 Commits
Author SHA1 Message Date
Ibrahem Khalil 4d9f3a4ef5 Merge branch 'develop' into 14781 2023-01-14 15:38:50 +02:00
ibrkhalil 5c49db3a5a Flat list won't scroll inside photo selector 2023-01-14 15:37:18 +02:00
3 changed files with 9 additions and 2 deletions
+2
View File
@@ -25,6 +25,8 @@
(def flat-list flat-list/flat-list)
(def flat-list-inside-gesture-handler flat-list/flat-list-inside-gesture-handler)
(def section-list section-list/section-list)
(def activity-indicator (reagent/adapt-react-class (.-ActivityIndicator ^js react-native)))
+6 -1
View File
@@ -1,6 +1,7 @@
(ns react-native.flat-list
(:require ["react-native" :as react-native]
[reagent.core :as reagent]))
[reagent.core :as reagent]
[quo.gesture-handler :as gesture-handler]))
(def react-native-flat-list (reagent/adapt-react-class (.-FlatList ^js react-native)))
@@ -39,3 +40,7 @@
(defn flat-list
[props]
[react-native-flat-list (base-list-props props)])
(defn flat-list-inside-gesture-handler
[props]
[gesture-handler/flat-list (base-list-props props)])
@@ -98,7 +98,7 @@
[rn/view {:style (style/chevron-container)}
[quo/icon :i/chevron-down {:color (colors/theme-colors colors/neutral-100 colors/white)}]]]
[clear-button]
[rn/flat-list
[rn/flat-list-inside-gesture-handler
{:key-fn identity
:render-fn image
:render-data {:window-width window-width}