carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Back tabbing breaks focus trap

Open edleeks87 opened this issue 3 years ago • 2 comments
trafficstars

Current behaviour

When back tabbing the FocusTrap does not catch when the first focusable element is focused and allows natural tabbing order rather than looping it to the end of the elements

Expected behaviour

Focus should loop to last focusable element when back tabbing from first element

CodeSandbox or Storybook URL

https://carbon.sage.com/?path=/story/dialog--default-story

JIRA Ticket (Sage Only)

No response

Suggested Solution

No response

Carbon Version

latest

Design Tokens Version

No response

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

What Operating System are you seeing the problem on?

MacOS

Anything else we should know?

No response

Confidentiality

  • [X] I confirm there is no confidential or commercially sensitive information included.

edleeks87 avatar Jul 08 '22 09:07 edleeks87

:tada: This issue has been resolved in version 109.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

carbonci avatar Jul 19 '22 08:07 carbonci

Reopening as issue persists in storybook but the trap works as expected in a sandbox or project

edleeks87 avatar Jul 20 '22 08:07 edleeks87

:tada: This issue has been resolved in version 110.0.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

carbonci avatar Aug 17 '22 09:08 carbonci