shoutem/ui

DropDownMenu component doesnot work inside a functional component with hooks

jsuryahyd opened this issue · 0 comments

DropDownMenu component gives error on option selected while using hooks. It throws error saying the selected option must be a member of the options.
This is because of terrible design of the component api. Please change the way options are selected by using an id key, not the whole object.
Also, the componet is very slow, takes a full 2sec to open the modal / close it.
Also, ListView is deprecated, so Change to FlatList or SectionList.