Skip to content

ngf-select and ng-click Don't work together on iphone #1659

@case12

Description

@case12

On iphone when I tap the element that contains the ng-file-upload directive, I get the system dialog to either take a picture or choose from library, but ng-click never gets processed.

On mac when I click the element, I get the system dialog to choose a picture, and ng-click does get processed.

  button.upload(
      accept="image/*"  
      ng-if="uploadImages.enabled"
      ng-click="onUploadClick()"
      ng-class="{'post-picture-button': postPicture.show}"
      ng-model="uploadOverlay.file"
      ngf-pattern="image/*"
      ngf-select="uploadFile($file)"
      ngf-resize="getUploadResizeOptions()"
    )

Any alternatives I can use? Known issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions