ThalesGroup / security-risk-assessment-tool

The ISRA security-risk-assessment-tool project is an Electron based application used to do security risk assessments at a technical level
BSD 4-Clause "Original" or "Old" License
22 stars 7 forks source link

[Issue]: Focus does not move newly added item when click on add button #275

Open ssyap78 opened 3 months ago

ssyap78 commented 3 months ago

Issue Description

For better user experience, after I click on add button, I expect focus move to the newly added item for me to enter its information. Currently it does not move the focus, that causes me always accidently update incorrect item.

Duplicate Steps

  1. Navigate to Risks tab or Vulnerabilities tab
  2. Click on add button
  3. Expect the focus move to the last newly added item, but the focus is not moved.
  4. User need to scroll to the last item and click the newly added item, then can update it.

Expected Results

After click on add button, focus should move to the last newly added item

Version Detected

1.1.0 (Default)

Attachments

No response