This is a migrated thread and some comments may be shown as answers.

Buttons in Content of Expander works on Android but not on iOS

1 Answer 22 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Paul Ridden
Top achievements
Rank 1
Veteran
Paul Ridden asked on 28 Jul 2020, 02:54 PM

Hi,

I have a ListView where the ItemTemplate is defined as an Expander. I have placed a series of controls on the Content of that Expander, such as Labels, an Expander and a series of Buttons. When trying to tap these buttons, my underlying Command is invoked on Android however nothing happens on iOS.

Due to another issue with the ListView and Expander, what happens on iOS is that the ListView Item under the expanded item is expanded rather the button on the expanded item being tapped.

Are there any properties I can set for iOS specifically to achieve the same behaviour on iOS as I do on Android?

Kind regards,

Paul

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 28 Jul 2020, 06:27 PM

Hi Paul,

Please follow the directions I provided in my other reply to you about  fixing the problem with the Expander in the RadListView. https://www.telerik.com/forums/expander-as-listview-itemtemplate-works-on-android-but-not-on-ios 

It is very possible that this issue is occurring because there are elements overlaid on top of the button that you cannot see that are blocking the button's click. In this case, fixing the layout issue will likely resolve this issue as well!

If you are still having issues with this, we really need to see the code in order to reproduce the issue and give you a solution. Please update that demo with the custom DataTemplate contents so that it recreates the issue and send it back to me. 

Regards,
Lance | Manager - Technical Support
Progress Telerik

Tags
Expander
Asked by
Paul Ridden
Top achievements
Rank 1
Veteran
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or