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

Dismiss modal on backdrop click #199

Open
prajwalkulkarni opened this issue Mar 28, 2022 · 0 comments · May be fixed by #200
Open

Dismiss modal on backdrop click #199

prajwalkulkarni opened this issue Mar 28, 2022 · 0 comments · May be fixed by #200

Comments

@prajwalkulkarni
Copy link

Is your feature request related to a problem? Please describe.

When I would want to share a story, I'd click on the share button and a modal is popped, If I immediately happen to change my decision and would not want to share the story at the moment, I'd obviously want to dismiss the modal. In the existing system, If I had to dismiss the modal, I should click on the close(x) button located on the top right corner of the modal, being acquainted with other platforms and the UI, it'd take a little extra effort to always locate the close(x) button to dismiss the modal.

Describe the solution you'd like

One easy way to dismiss the modal would be by clicking on the backdrop. Since the backdrop clearly differentiates the overlay(modal) from the underlying content, it'd be safe to dismiss the modal when the backdrop is clicked. This design pattern is inspired by LinkedIn, where one can dismiss the "Create a post" modal by clicking the backdrop. Also, many other popular platforms use this convention. So it'll be good to have this small feature added, which could save a little extra effort from the users.

Additional context

Add any other context about the feature request here.

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

Successfully merging a pull request may close this issue.

1 participant