vctfence / scrapbee

Mozilla Public License 2.0
39 stars 23 forks source link

Popup menu in sidebar staying displayed #92

Closed Kerenok closed 2 years ago

Kerenok commented 2 years ago

When one want to choose where the next page will be saved, one can right click on a tree item in the sidebar (as left clicking opens the saved page by default). The item is selected but the popup menu stay displayed. To make it disappear, one has to click on Properties then on Cancel. It's a bit tedious.

vctfence commented 2 years ago

Noticed, but I found no event raised when user click outside the sidebar. So far, you can click somewhere out of the menu (in sidebar), no need to open Properties. 2022-02-14_14-52

vctfence commented 2 years ago

To hide menu when user click outside sidebar, How do you think use window.onblur? For me, it's a more rational way: hide menu while clicking.

Kerenok commented 2 years ago

Thanks for investigating. The workaround of clicking outside the popup on an empty zone does work : in some of my use cases where I minimize the width of the sidebar, the only empty zone at the left of the favicons of items and I had missed it!

You may close the issue if you want.