Skip to content

File.Select.files fails on iOS 12 browsers. #4

@kyasu1

Description

@kyasu1

The examples using File.Select.files fail to call its callback on iOS 12 browsers. With my iPhone Xs/5s, both 'Take Photo' and choosing from 'Photo Library' did not work at all. While with my iPad Pro, 'Take Photo' did not work but choosing from 'Photo Library' worked.

I think this issue is related to the problem reported on this Discourse topic. Applying the fix suggested at the last post (moving the node variable declaration to the outer scope) to the generated JavaScript file seems to solve the problem.

This API is really useful when combining with elm-ui, hope this will be resolved soon !

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