forcedotcom / code-builder-feedback

This repository is used to collect feedback for the Code Builder beta.
29 stars 2 forks source link

Focus should be set on the modal after Org authorization #149

Closed jonnyhork closed 11 months ago

jonnyhork commented 2 years ago

Describe the bug When a modal is open the HTML element in focus should be the modal or an element within the modal and it should be trapped in the modal.

After I am returned to the Dashboard after an OAuth flow none of the conditions above are met.

To Reproduce Steps to reproduce the behavior:

  1. Open the setup wizard to create an new environment
  2. Complete the steps until you can authorize to an org.
  3. Complete the OAuth until you are returned to the setup wizard in Code Builder Dashboard.
  4. Notice that the modal or any element in it does not have focus.

Expected behavior The element focus should be set and trapped back in the modal.

Screenshots If applicable, add screenshots to help explain your problem. They really help!

modal focus

Additional context Add any other context about the problem here.