Hover effect user image upload
Created by: Tirokk
Authored by mattwr18 Merged
🍰 Pullrequest
This PR
introduces more than just a hover effect because adding a hover effect to the functionality in master
made the vue-dropzone
non-clickable and so broke the functionality.
I've refactored it to remove a fair bit of code and get it working with custom slots, which was quite difficult since it also didn't work like the examples. The avatar was non-clickable and I finally got it working by changing the class to dz-message
.
Using custom slot allows us to use the default functionality of a avatar with a user's initials as a default
This next gif
shows its functionality
There is a bug where the user's avatar in the navbar is not reactive, but this is a bug on master
as well.
Maybe we can open a separate ticket for it?
Fixes#688