---
title: "Discussion on \"Closing a Modal on Mobile Devices: Tapping the Back Button Instead of Going Back in React\" | Hashnode"
description: "Discussion on \"Closing a Modal on Mobile Devices: Tapping the Back Button Instead of Going Back in React\". Overcoming Modal Closure Issues: Resolving Redirects Instead of Closing in Mobile Devices After Clicking on Back Button"
url: "https://hashnode.com/posts/closing-a-modal-on-mobile-devices-tapping-the-back-button-instead-of-going-back-in-react/646bb4cdbedfbd678f216ce1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Closing a Modal on Mobile Devices: Tapping the Back Button Instead of Going Back in React](https://mohdhaider07.hashnode.dev/closing-a-modal-on-mobile-devices-tapping-the-back-button-instead-of-going-back-in-react?utm_source=hashnode&utm_medium=feed)

Overcoming Modal Closure Issues: Resolving Redirects Instead of Closing in Mobile Devices After Clicking on Back Button

May 22, 2023 · 4 min read · mohdhaider07.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#coding](https://hashnode.com/tag/coding)
-   [#coding-challenge](https://hashnode.com/tag/coding-challenge)
-   [#newbie](https://hashnode.com/tag/newbie)

## Written by

[Mohd Haider](https://hashnode.com/@mohdhaider07)

@mohdhaider07 · India

  
[View profile](https://hashnode.com/@mohdhaider07)

Building the Future, Byte by Byte!

Full-Stack developer with a passion for problem-solving and process optimization. Currently exploring new tools and technologies to enhance software solutions. Always eager to share knowledge and contribute to meaningful projects.

## Responses 1

Markdown supported · ⌘↵ to post

[Ijeoma Igboagu](https://hashnode.com/@Ijay)

[May 23, 2023](https://hashnode.com/posts/closing-a-modal-on-mobile-devices-tapping-the-back-button-instead-of-going-back-in-react/646bb4cdbedfbd678f216ce1/comment/646ca093763c7a337631dc1b)

A nice article thanks for sharing..👏
