Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend Assignment #65

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Frontend Assignment #65

wants to merge 3 commits into from

Conversation

priyankashrma
Copy link

@priyankashrma priyankashrma commented Sep 3, 2022

I had a great time working on this assignment.

Features

  • Background scroll gets locked when any modal is opened.
  • A generic Modal component is implemented, which receives its configuration and content from the parent.
  • Modal Stacking is supported.
  • Focus gets trapped when the modal is opened.
  • Supports most screen sizes.
  • Modal can be closed by escape key.
  • Tab key change focus between targets.

Libraries Installed

  • focus-trap-react

Loom Video

https://www.loom.com/share/fa8140f8d88347aaaf2173dab17078f6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant