-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
Order is not respected when selecting multiple video #488
Comments
I agree, I wonder why this is the case? |
I’ll investigate this and get back to you. Could be something minor. |
@heitara @mendesbarreto @s4cha Any ideas? Multiple selection that incorporates images and videos scrambles the order. |
@Ludotrico could you share exact steps. For example: open example app. Pick 5 images and 5 videos. The order is 2v,2i,3i... expected order is 1i,2i,3i... |
If there are 5 images and 5 videos and the picked order is guessing that it could be when a large video is selected it takes time to either transpose the video or just put it into the array so if the user picks an image or smaller video right after, that item gets done first and gets put into the array earlier |
I found the problem. @tony-halloapp @Ludotrico could you guys check the following version using the sample project? #533 |
@heitara thank you for investigating! I just pasted your changes in my project that is currently running the up to date version of the master. Unfortunately the problem persists. Images seem to always be placed before videos, disregarding order. @tony-halloapp same on your end? |
@NikKovIos exactly. The sort function keeps the selection order "stable". |
@heitara so 488 mr i can close? |
Yes, please. |
If multiple selection is enabled and multiple videos are selected (ie. 10 videos) the order in which they are selected are not respected in didFinishPicking
Note: The ordering for images work fine
The text was updated successfully, but these errors were encountered: