Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049872 | POS2 | Core | public | 2022-07-22 17:44 | 2022-08-19 14:16 |
|
Reporter | guilleaer | |
Assigned To | meriem_azaf | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 22Q4 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | Gold |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0049872: Buttons which opens popups are focused when popup is closed |
Description | Buttons which opens popups are focused when popup is closed
See this link [https://stackoverflow.com/questions/69047336/material-ui-closing-modal-leaves-focus-state-on-button-that-opened-it [^]]
It causes a problem in POS if after closing a popup a code which includes "whitespaces" is scanned because the button with the focus is pressed again |
Steps To Reproduce | In live buids
Login in POS2
In main window add a product to the order
Press delete order button
Close de confirmation popup by pressing cancel or clicking on the background
See that focus is in delete order button again
Press space -> confirmation dialog is shown
When doing a scan with a REAL barcode scanner (cannot be simulated through dev tools console) a space press key event is triggered and the confirm dialog is shown again |
Proposed Solution | Add prop disableRestoreFocus on dialog base component |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | backport | 0049977 | 22Q3 | closed | meriem_azaf | Buttons which opens popups are focused when popup is closed |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-07-22 17:44 | guilleaer | New Issue | |
2022-07-22 17:44 | guilleaer | Assigned To | => Triage Platform Base |
2022-07-22 17:44 | guilleaer | OBNetwork customer | => Gold |
2022-07-22 17:44 | guilleaer | Triggers an Emergency Pack | => No |
2022-07-22 17:46 | guilleaer | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=24536#r24536 |
2022-07-27 08:23 | AugustoMauch | Assigned To | Triage Platform Base => meriem_azaf |
2022-07-27 08:24 | AugustoMauch | Status | new => scheduled |
2022-07-27 12:45 | hgbot | Merge Request Status | => open |
2022-07-27 12:45 | hgbot | Note Added: 0139640 | |
2022-08-06 11:44 | hgbot | Merge Request Status | open => approved |
2022-08-06 11:52 | hgbot | Resolution | open => fixed |
2022-08-06 11:52 | hgbot | Status | scheduled => closed |
2022-08-06 11:52 | hgbot | Fixed in Version | => 22Q4 |
2022-08-06 11:52 | hgbot | Note Added: 0139932 | |
2022-08-06 11:52 | hgbot | Note Added: 0139933 | |
2022-08-09 10:50 | hgbot | Fixed in Version | 22Q4 => 22Q3 |
2022-08-09 10:50 | hgbot | Note Added: 0139998 | |
2022-08-09 11:58 | AugustoMauch | Issue cloned | 0049977 |
2022-08-09 12:22 | plujan | Fixed in Version | 22Q3 => 22Q4 |
2022-08-19 14:16 | AugustoMauch | Relationship added | related to 0049977 |