whalebird-desktop
whalebird-desktop copied to clipboard
Close a picture/video when clicking outside it.
Currently, when an image/video is displayed (by clicking on it in a toot), one have to click the up-right cross to close it. It would be easier to just click outside the image/video to close it (especially when using a track pad on a laptop)
Before 4.6.0, this feature was implemented with https://github.com/vue-bulma/click-outside. But the library does not support vue3. We need to use vue3 supporting library, e.q. https://github.com/andymark-by/click-outside-vue3.