shopware / shopware

Shopware 6 is an open commerce platform based on Symfony Framework and Vue and supported by a worldwide community and more than 1.500 community extensions
https://shopware.com
MIT License
2.75k stars 1k forks source link

B2B Components: Shopping List -> Incompatibility with Firefox #4424

Open shopwareBot opened 1 month ago

shopwareBot commented 1 month ago

Description:

SW 6.6.4.1 / Commercial Version: 6.4.0

Shopping list is not compatible with Mozilla Firefox

Steps to reproduce:

Expected result:

/account/shopping-list/0190e8e08ddb7322bad1335eeb6ce417

Actual result:

/account/shopping-list/0190e8e08ddb7322bad1335eeb6ce417/summary?

Check the screenshots for more details. [issue_shoppinglist1.PNG|https://sbp-issuetracker-attachments.s3.eu-west-1.amazonaws.com/1721909124_66a23f842b6a2_issue_shoppinglist1.PNG] [issue_shoppinglist2.PNG|https://sbp-issuetracker-attachments.s3.eu-west-1.amazonaws.com/1721909124_66a23f8477550_issue_shoppinglist2.PNG]

shopware-issue-bot[bot] commented 1 month ago

We found the following existing issues which may help or are related to your topic:

shopwareBot commented 1 month ago

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37427.

[created from NEXT-37427, comment 486762]

JoshuaBehrens commented 2 weeks ago

Solved this. When dispatching events in firefox it is important to have the cancelable flag set so the event subscriber from form-ajax-submit can prevent default. Eventually the form is just sent and therefore the browser navigates there. The cancelable flag is not given in the shopping lists javascript triggering the initial "cart" summary form.

Merge request incoming