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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant