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

Xamarin Forms iOS Editor within ViewCell in TableView

$
0
0

My XAML is this:

                <ViewCell x:Name="EventCell">
                    <StackLayout x:Name="EventStacklayout" BackgroundColor="Aqua">
                        <custom:ScrollableEditor x:Name="DetailsEditor" Text="{Binding EventDetails}" BackgroundColor="Lime"/>
                    </StackLayout>
                </ViewCell>
            </TableSection>

When I create a custom renderer for an editor on ios and I set the this.Control.ScrollEnabled = false; the text becomes translucent, though still selectable. When I ScrollEnabled is set to true and I tap the editor, I'm forced to the bottom of the editor and can't scroll upwards anymore.

The height of the editor is 27322. When I manually set the editor's height request to 1000, I do not experience this problem.

Is there some max height an editor can have for ios? On Android I do not experience this issue and can scroll freely within the editor even with such a huge height.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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