[ECOMMERCE-413] When editing existing component, it loses focus on Chooser Created: 02/Jun/21  Updated: 21/Jun/21  Resolved: 18/Jun/21

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3

Type: Bug Priority: Neutral
Reporter: Laura Delnevo Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1h
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-06-08 at 11.27.31.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: New Product Chooser 1.3
Sprint: Content Mngmt 6
Story Points: 5

 Description   

When I edit an existing component, the selected product lose focus - only when the product name appears twice on my list 

Steps to reproduce

One way to replicate this is: 

  1. create a commercetools component 
  2. edit the existing component
  3. when the chooser opens, the product with the same name and SKU appears twice
  4. the focus, in this scenario, is not on the selected product - there is no product selected

Expected results

When I edit an existing component, the chooser should open with the focus on the selected product..

Actual results

When I edit an existing component, there is not selected product 

Workaround

Development notes


Generated at Mon Feb 12 01:43:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.