gray-mueller / gray-mueller/food-ordering-app-clone-using-react-js
App Crashes When Tapping Anywhere on Store Page
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
In the customer app, navigating to any store page and then tapping anywhere on the screen (regardless of the element) causes the app to crash immediately. This makes it impossible to browse or place orders from that store.
To Reproduce
Steps to reproduce the behavior:
Open the customer app
Navigate to any store page
Tap anywhere on the screen — e.g., background, image, product card
Observe that the app crashes and exits
Expected behavior
Tapping on interactive elements or anywhere on the store page should not cause the app to crash. The user should be able to view the menu and interact normally.
Screenshots / Crash Logs
Smartphone (please complete the following information):
Device: Samsung A15
OS: Android 14
App Version: [insert if known]
Additional context
This is a critical issue likely caused by a UI or event binding bug, such as a null reference or unhandled tap event. It severely impacts app usability and should be addressed immediately.
Contributor guide
Research direction
Start by reproducing the crash on the customer app using Android 14 and the Samsung A15, then trace tap handling on the store page. Confirm the fix by checking that taps on the background, images, and product cards no longer crash the app and that the menu remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100