Fix suggestions tapping issue. Fix command input position.

This commit is contained in:
virvar 2016-05-23 15:08:22 +03:00
parent 9a8a5e0ddd
commit 00145a8c6f
3 changed files with 9 additions and 6 deletions

View File

@ -37,7 +37,8 @@
(def command-input (def command-input
{:flex 1 {:flex 1
:marginLeft 8 :marginLeft 8
:marginTop 7 :marginTop -2
:padding 0
:fontSize 14 :fontSize 14
:fontFamily font :fontFamily font
:color text1-color}) :color text1-color})

View File

@ -32,5 +32,6 @@
:onPress (fn [])} :onPress (fn [])}
[view [icon :drag_down st/drag-down-icon]]] [view [icon :drag_down st/drag-down-icon]]]
[view (st/suggestions-container (count suggestions)) [view (st/suggestions-container (count suggestions))
[list-view {:dataSource (to-datasource suggestions) [list-view {:dataSource (to-datasource suggestions)
:renderRow render-row}]]])) :keyboardShouldPersistTaps true
:renderRow render-row}]]]))

View File

@ -41,6 +41,7 @@
[view [view
[icon :drag_down st/drag-down-icon]]] [icon :drag_down st/drag-down-icon]]]
[view (st/suggestions-container (count suggestions)) [view (st/suggestions-container (count suggestions))
[list-view {:dataSource (to-datasource suggestions) [list-view {:dataSource (to-datasource suggestions)
:enableEmptySections true :enableEmptySections true
:renderRow render-row}]]]))))) :keyboardShouldPersistTaps true
:renderRow render-row}]]])))))