Skip to content

Drag & drop files upload #336

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

Closed
Alisonispig opened this issue Aug 3, 2022 · 11 comments
Closed

Drag & drop files upload #336

Alisonispig opened this issue Aug 3, 2022 · 11 comments
Labels
enhancement New feature or request fixed The issues was fixed

Comments

@Alisonispig
Copy link

Describe the solution you'd like

I want to add a file drag upload function, which is very necessary in some cases.

@Alisonispig Alisonispig added the enhancement New feature or request label Aug 3, 2022
@antoine92190
Copy link
Collaborator

Yes I agree, feel free to send a PR for that.

@Furqan2
Copy link

Furqan2 commented Sep 13, 2022

@Alisonispig are you going to give PR soon ?? @antoine92190 or can you please guide us about drag and drop files Function.

@antoine92190
Copy link
Collaborator

The implementation should be easy, you just need to make sure the drag and drop calls the following function: https://github.com/antoine92190/vue-advanced-chat/blob/master/src/lib/Room/RoomFooter/RoomFooter.vue#L498-L524

@antoine92190 antoine92190 changed the title drag upload Drag & drop files upload Sep 14, 2022
@Furqan2
Copy link

Furqan2 commented Sep 14, 2022

@antoine92190 thanks for the response can you guide me how exactly i can call this function .... i have drag function with witch i have data property of files now how can i just call onFileChange from my function .... I'm new to Vuejs so.

@antoine92190
Copy link
Collaborator

You need to do the change in the file I sent you, then send a pull request.

@Furqan2
Copy link

Furqan2 commented Sep 14, 2022

i don't understand all i understand is i have to make my drag and drop function and the call the ;library function to pass the files.

@antoine92190
Copy link
Collaborator

Your drag and drop function needs to be inside the library file, it should be part of the library. If you don't know how to do it, you will need to wait until I implement the feature myself.

@Furqan2
Copy link

Furqan2 commented Sep 14, 2022

It will be great to have this feature as i need it badly and im stuck on this. Thanks

@antoine92190
Copy link
Collaborator

Feature added in 3fe2fee
You can try it out on the demo until I release it: https://antoine92190.github.io/vue-advanced-chat/

@antoine92190 antoine92190 added the fixed The issues was fixed label Sep 14, 2022
@Furqan2
Copy link

Furqan2 commented Sep 14, 2022

Thats a very good move, working good on demo lets try out in real application, when will it be available.

@Furqan2
Copy link

Furqan2 commented Sep 19, 2022

@antoine92190 hey when the update release4 gonna happen ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed The issues was fixed
Projects
None yet
Development

No branches or pull requests

3 participants