Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046665
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[POS2] POSmajorhave not tried2021-05-13 16:322023-08-31 14:51
ReporterjarmendarizView Statuspublic 
Assigned Tojarmendariz 
PrioritynormalResolutionfixedFixed in Version23Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046665: Product popover does not appear after long click on iPad

DescriptionAlthough it works on desktop and in Android devices, long clicking a product button on iPad does not open the product card
Steps To ReproduceSee above

It was tested on Chrome for iOS
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0152881)
jarmendariz (developer)
2023-07-26 12:19

This issue is caused because WebKit on iOS does not support onContextMenu events (https://caniuse.com/mdn-api_element_contextmenu_event [^]), which is the event we use in buttons for actions when the user right click on desktop devices, or long-press on mobile devices.

As Apple doesn't seem to have plans to fix this in the short-term, a possible fix is to use some logic that emulates the long click event on iOS devices in order to be able to execute those actions in those devices. A possible implementation we could use is useLongPress (https://www.npmjs.com/package/use-long-press [^]), but first we need to check that by using this we could workaround this problem.
(0153924)
hgbot (developer)
2023-08-24 14:02

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1216 [^]
(0154253)
hgbot (developer)
2023-08-31 14:51

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: a06735660d6c3b9891005d83bd3a458194acc51d
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 31-08-2023 12:51:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a06735660d6c3b9891005d83bd3a458194acc51d [^]

Fixed ISSUE-46665: Using external hook to detect long click to support long click events on iOS

---
M web-jspack/org.openbravo.core2/package-lock.json
M web-jspack/org.openbravo.core2/package.json
M web-jspack/org.openbravo.core2/src/components/BaseButton/BaseButton.jsx
---
(0154254)
hgbot (developer)
2023-08-31 14:51

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1216 [^]

- Issue History
Date Modified Username Field Change
2021-05-13 16:32 jarmendariz New Issue
2021-05-13 16:32 jarmendariz Assigned To => Retail
2021-05-13 16:32 jarmendariz Triggers an Emergency Pack => No
2021-05-13 16:44 jarmendariz Steps to Reproduce Updated View Revisions
2021-05-13 19:33 guilleaer Resolution time => 1624831200
2021-05-13 19:33 guilleaer Severity major => minor
2021-05-13 19:33 guilleaer Status new => acknowledged
2021-07-14 13:12 dmiguelez Resolution time 1624831200 => 1633039200
2023-06-27 11:31 AugustoMauch Assigned To Retail => jarmendariz
2023-06-28 10:33 AugustoMauch Severity minor => major
2023-07-26 12:19 jarmendariz Note Added: 0152881
2023-07-31 08:29 AugustoMauch Type defect => design defect
2023-08-24 12:26 jarmendariz Status acknowledged => scheduled
2023-08-24 14:02 hgbot Note Added: 0153924
2023-08-31 14:51 hgbot Resolution open => fixed
2023-08-31 14:51 hgbot Status scheduled => closed
2023-08-31 14:51 hgbot Fixed in Version => 23Q4
2023-08-31 14:51 hgbot Note Added: 0154253
2023-08-31 14:51 hgbot Note Added: 0154254


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker