Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Scrollable text within ViewCell

$
0
0

I have a multiline text field which sometimes needs to be editable and sometimes not. The whole thing is placed inside a TableView.

I started with a simple ViewCell with an Editor in it. On iOS this only works fine as long as the text is editable. I can scroll the whole TableView when my finger is anywhere on the TableView and I can scroll just my text field when the finger pans the Editor.

But if I set Editor.IsEnabled = false, then the text within the Editor is not scrollable anymore. If the text is higher than the Editor, then I only see the first few lines.

I tried to work around with a ScrollView containing a Label, but this does not scroll either. If I put my finger on the Label and pan up/down, the TableView scrolls, but not the ScrollView.

(I cannot confirm bug 22029 - Editor.IsEnabled = false does not disable editing, at least not on iOS 8.3)


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>