gray-mueller / gray-mueller/restaurant-ordering-system-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 a Samsung A15 running Android 14 while navigating to any store page and tapping the background, an image, and a product card. Inspect the store page's tap and event handling; done means the page remains open, the menu is viewable, and normal interactions do not crash the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100