Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-abstract-modal] [terra-modal-manager] Revert Focus Trap Changes #2065

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

kenk2
Copy link
Contributor

@kenk2 kenk2 commented Mar 5, 2024

Summary

What was changed:
Reverts: #2014

Why it was changed:
UX wants us to implement focus trap changes in terra-abstract-modal v4. Focus Trapping is not a requirement in v3 of the components.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:


Thank you for contributing to Terra.
@cerner/terra

@kenk2 kenk2 self-assigned this Mar 5, 2024
@kenk2 kenk2 requested a review from a team March 5, 2024 16:15
@github-actions github-actions bot temporarily deployed to preview-pr-2065 March 5, 2024 16:15 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-2065 March 5, 2024 16:36 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-2065 March 5, 2024 16:39 Destroyed
@kenk2 kenk2 marked this pull request as ready for review March 5, 2024 16:57
@kenk2 kenk2 changed the title [terra-abstract-modal] Revert Focus Trap Changes [terra-abstract-modal] [terra-modal-manager] Revert Focus Trap Changes Mar 5, 2024
/**
* If set to true, then the outside click will get enabled.
*/
closeOnOutsideClick: PropTypes.bool,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will break MPages

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Communicated: These changes are requirements for v4. Meanwhile this is being done so that v3 consumers do not break with focus trapping.

@sdadn
Copy link
Contributor

sdadn commented Mar 5, 2024

Is there a branch where the focus changes are added for easy re-adding?

@kenk2
Copy link
Contributor Author

kenk2 commented Mar 5, 2024

Is there a branch where the focus changes are added for easy re-adding?

@sdadn I have a branch set up at abstract-modal-mvb for this purpose.

@kenk2 kenk2 requested review from sdadn and cm9361 March 5, 2024 19:08
@kenk2 kenk2 merged commit b337471 into main Mar 5, 2024
22 checks passed
@kenk2 kenk2 deleted the abstract-modal-revert branch March 5, 2024 19:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants