Skip to content

SignaturePad inside ScrollView #23

@droopram

Description

@droopram

I have the following XML (not exactly but the gist is the same):

<ScrollView>
    <StackLayout #form>
        <ActivityIndicator 
                [busy]="isLoading" 
                [visibility]="isLoading ? 'visible' : 'collapsed'" 
                row="1" 
                horizontalAlignment="center" 
                verticalAlignment="center"></ActivityIndicator>
        <StackLayout #container [class.visible]="!isLoading">
                <DrawingPad id="1" height="120" penColor="#212F3D" penWidth="3" class="drawingpad"></DrawingPad>
        <!-- Lots of elements -->
        </StackLayout>
    </StackLayout>
</ScrollView>

When I try to draw vertical lines, the scrollview takes over and scrolls the page instead of drawing within the pad.. Any idea's on how to fix this? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions