Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After uploading the photo on iOS devices, the page will be refreshed #921

Open
2 tasks
hossein439 opened this issue Jul 12, 2023 · 1 comment
Open
2 tasks

Comments

@hossein439
Copy link

hossein439 commented Jul 12, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Have you updated FilePond and its plugins?

  • I have updated FilePond and its plugins

Describe the bug

After uploading the photo on iOS devices, the page will be refreshed and my input with type file and mutiple
Screenshot from 2023-07-12 13-36-51 and I got this error and my config is

            FilePondPluginImagePreview,
            FilePondPluginImageResize,
            FilePondPluginImageTransform,
            FilePondPluginFileValidateType,
            FilePondPluginFileValidateSize
        );
        FilePond.create(document.querySelector('#input'), {
            allowRevert: false,
            allowProcess: false,
            allowImageCrop: false,
            allowFileTypeValidation: true,
            acceptedFileTypes: ['image/*'],
            imagePreviewMaxHeight: 200,
            maxFiles: 6,
            allowFileSizeValidation: true,
            maxFileSize: '20MB',
            allowImageResize: true,
            imageResizeTargetWidth: 200,
            imageResizeTargetHeight: 200,
            imageResizeMode: 'contain',
            labelIdle: sellTranslate.image_add,
            labelFileLoading: sellTranslate.image_loading,
            labelTapToCancel: sellTranslate.image_faild,
            labelMaxFileSizeExceeded: sellTranslate.image_max_file_size}```
plz help me
tnx


### Reproduction

when user log in on my website and I init filepond

### Environment

```markdown
- Device: Iphone 8
- OS: ios 16
- Browser: safari
@rikschennink
Copy link
Collaborator

Safari memory management isn't great.

This depends on:

  • if there are other images load prior to this one
  • the size of the image
  • the memory use of the webpage
  • the memory use of the browser itself
  • the device memory and iOS version
  • if the image is directly from camera or from library

It sounds like the photo did upload? Or does it crash when adding? Can you reproduce this in isolation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants