Hi guys,
I am transforming my app from Android to iOS
Aiming to both of the apps to look as same as posible.
To achieve that I need to use autocomplete inside other panel
but some other click events are then stealing my clicks so I cant select anything from the suggested list because the click is stolen by Click event on the parent panel or on the page...
I see it too. This is related to TableView behavior where it doesn't immediately treat the touch gesture as a selection. When that happens the panel underneath it "steals" the event and consumes it.
What is the use case for handling the click event of the underneath panel?
Switch to xCustomListView in both your B4A and B4i projects. You will be able to share more code between the platforms.
(I'm not 100% sure that this issue with the underlying touch listener will not affect CLV. You need to test it.)
In the real app the underneath panel is just semitransparent gray background visible around the main panel. Under which u still see the form, from which the autocomplete was opened. So when u click outside the main panel with autocomplete the panel hides and u are back where u were : )
Switch to xCustomListView in both your B4A and B4i projects. You will be able to share more code between the platforms.
(I'm not 100% sure that this issue with the underlying touch listener will not affect CLV. You need to test it.)
Ok note taken, will try to use it in future updates.
Right now I solved it by disabling the clickThief event and adding cancel button into the PlacesAutocompleteView Class.
Not ideal but its timesaver : )