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

ella: downloadFile method not working on safari ios #48

@Ishitasinha7089

Description

@Ishitasinha7089

We are creating an anchor tag and setting its target to _blank and we are performing click action via javascript. Safari on ios is assuming it as a popup and is blocking it, it works when Block Popup is turned off.
Image from iOS.
Can we add check for Safari to avoid link.target='_blank, and then the file will open on same tab. One issue with this solution is that, on ios Safari and Chrome have same userAgents so it will be difficult to differentiate between them.

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