click outside to close sidebar#2272
Conversation
juliusknorr
left a comment
There was a problem hiding this comment.
Doesn't work that easy, as this basically blocks the sidebar from being opened in the first run when clicking on a card.
|
@juliushaertl How to do this? |
|
Well escape key should probably also work but the click would be still useful. To make this work you would basically need to make sure that the click was triggered on the board dom element and not on a card in the v-click-outside handler. |
|
It doesn't work with that either: Sidebar no longer opens Line 26 in 5e3661c |
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
5e3661c to
7a23f3b
Compare
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Fixed by using @juliushaertl's approach :) |
|
Seems to have caused a regression when trying to open the board sidebar as that click opens the sidebar but closes it directly again. Maybe we should only trigger it when clicking the board content area somehow. |
Signed-off-by: Jakob Röhrl jakob.roehrl@web.de
With this change the sidebar no longer opens at all.
@juliushaertl do you have an idea how to solve it?