metasfresh / metasfresh-webui-frontend-legacy

metasfresh Webui Frontend
GNU General Public License v2.0
57 stars 35 forks source link

Notifications and user menu will not close #2265

Closed ionut-movila closed 5 years ago

ionut-movila commented 5 years ago

Is this a bug or feature request?

bug

What is the current behavior?

In attached screenshot I was able to open both notifications and user menu and they will not close unless you select an item in that menu.

Which are the steps to reproduce?

Click on either notifications or user buttons top right (or even both) and the popover menus will remain open until a selecting an item.

What is the expected or desired behavior?

Two possible solutions:

  1. Close these menus with a click on the corresponding menu button
  2. Close these menus with a click outside the menu. In this case we should have an overlay to show these menus have modal behaviour. Both menus open can't close
metas-dh commented 5 years ago

Results of IT1 tested in mf15

  1. notifications and user menu cannot be opened at the same time: OK
  2. notifications and user menu close when clicking outside of them, without selecting an item: OK
  3. correct document is opened when clicking on the notification (e.g. shipment): : OK
  4. user menu or logout when clicking on the resp. user menu entry: : OK
metas-ts commented 5 years ago

🍒 picked issue https://github.com/metasfresh/metasfresh-webui-frontend/issues/2265 to branch ´release`