torrust / torrust-index-gui

This repository serves as the frontend for the Torrust Index project.
https://torrust.com
Other
29 stars 16 forks source link

Left mouse click on open dropdown element does not close it #447

Open mario-nt opened 6 months ago

mario-nt commented 6 months ago

When clicking on any opened dropdown element, the element shold be closed, instead, left clicking on it does nothing, and the user has to click somewhere else to close that element:

Screencast from 21-01-24 01:01:20.webm

josecelano commented 2 months ago

Hi @mario-nt what was the conclusion finally about this? Is it just hard to implement? or It does not make sense because it's the way the library we are using works?

mario-nt commented 2 months ago

Hi @josecelano, with DaisyUI, which is the library we use right now for that dropdown, it is not possible to implement, at least with utility classes.

As far as I know, the dropdown has to be implemented again using a custom CSS/Vue solution. I stopped working on the issue for now because I lack the knowledge required to pull it off, I will do some Vue/Css courses before working on it again. Also desassigned the issue in case someone else wants to try to fix it.

I don't think it is a complex issue anyway.

josecelano commented 2 months ago

Hi @josecelano, with DaisyUI, which is the library we use right now for that dropdown, it is not possible to implement, at least with utility classes.

As far as I know, the dropdown has to be implemented again using a custom CSS/Vue solution. I stopped working on the issue for now because I lack the knowledge required to pull it off, I will do some Vue/Css courses before working on it again. Also desassigned the issue in case someone else wants to try to fix it.

I don't think it is a complex issue anyway.

OK, I'm moving the issue to the v3.1.0 milestone.