Skip to content

Previous scrolling to invalid form element is not being canceled on hitting submit multiple times #21715

@lukeromanowicz

Description

@lukeromanowicz

Preconditions (*)

Magento 2.3-develop, possibly older versions

Steps to reproduce (*)

  1. Go to a product page
  2. Enter an invalid value like -1
  3. Hit 'Add to cart' several times
  4. When you get scrolled to the qty input try scrolling away

Expected result (*)

When scrolling is finished, the form will let you scroll away, no matter how many times you hit the add to cart button

Actual result (*)

You will be getting scrolled back to the qty input exactly same amount of times that you hit add to cart button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Design/FrontendComponent: CatalogFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions