Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

angular.copy behaves differently in iOS devices #16152

Closed
@mcenkbatman

Description

@mcenkbatman

I'm submitting a ...

  • bug report
  • feature request
  • other (Please do not submit support requests here (see above))

Current behavior:

I am using angular.copy function in one of my projects in a function I use for file uploading. This project is being used in both mobile and desktop. I figured out that in iOS devices (I only tested it with iOS 10) angular.copy doesn't copy the files property of input element on neither Safari nor Chrome appropriately. It works perfect with other platforms like Android Chrome and MacOS safari and chrome
Expected / new behavior:

angular.copy should behave similary on iOS browsers as would behave in Android browsers

Minimal reproduction of the problem with instructions:

Here is a plunker , demonstrating length of files of input element before and after copy. Please try it on an iOS device to see the bug. http://plnkr.co/edit/7EBbitlnY8TRL7dD2QUe

Angular version: 1.4.x

Browser: [Mobile Chrome 59 | iOS 10 Safari ]

only on iOS devices

Anything else:

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