Openbravo Issue Tracking System - POS2
View Issue Details
0052595POS2POSpublic2023-05-29 11:392023-06-27 22:25
ablasco 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
23Q4 
No
0052595: Popover Menu in MoreButtons remains opened in Responsive Toolbar when an option is clicked
Normally, when a button is clicked on MoreButtons Menu selector, a new window opens.
But sometimes this buttons are not properly defined as navigation buttons.

In this cases, the selector menu should close when an option is selected.
- Login in portrait
- Close Till
- Open MoreButtons menu in Toolbar ( three dots button )
- Select "Show all payments method"

This button doesn't navigate anywhere, but the selector does not close automatically.
No tags attached.
gif OpenedResponsiveToolbar.gif (224,094) 2023-05-29 11:39
https://issues.openbravo.com/file_download.php?file_id=18594&type=bug
gif
Issue History
2023-05-29 11:39ablascoNew Issue
2023-05-29 11:39ablascoAssigned To => Retail
2023-05-29 11:39ablascoFile Added: OpenedResponsiveToolbar.gif
2023-05-29 11:39ablascoTriggers an Emergency Pack => No
2023-05-29 11:39ablascoAssigned ToRetail => Triage Platform Base
2023-06-26 08:53hgbotNote Added: 0151619
2023-06-26 09:14AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2023-06-26 09:14AugustoMauchStatusnew => scheduled
2023-06-27 22:25hgbotResolutionopen => fixed
2023-06-27 22:25hgbotStatusscheduled => closed
2023-06-27 22:25hgbotNote Added: 0151701
2023-06-27 22:25hgbotFixed in Version => 23Q4
2023-06-27 22:25hgbotNote Added: 0151702

Notes
(0151619)
hgbot   
2023-06-26 08:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1154 [^]
(0151701)
hgbot   
2023-06-27 22:25   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1154 [^]
(0151702)
hgbot   
2023-06-27 22:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: d9fd5b580d66e61948068370be7f29ae8114db92
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 27-06-2023 20:25:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/d9fd5b580d66e61948068370be7f29ae8114db92 [^]

Fixes ISSUE-52595: Menu should be closed when ResponsiveToolbar menu item is clicked

A wrapper has been added to the menu items is BaseMenuItem to en ensure that, if configured like that,
when a component-based menu item is clicked, the menu will be closed.

For now the property that enables this is only set on the component-based menu items created in the
ResponsiveToolbar component.

---
M web-jspack/org.openbravo.core2/src/components/BaseMenu/BaseMenu.jsx
M web-jspack/org.openbravo.core2/src/components/ResponsiveToolbar/ResponsiveToolbar.jsx
---