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
{:flex 1
:marginLeft 8
:marginTop 7
:marginTop -2
:padding 0
:fontSize 14
:fontFamily font
:color text1-color})

View File

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

View File

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