marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native
Splitting Screen and Duplicate Profile Tab on Language Change in Restaurant App
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Upon changing the language from the language tab in the restaurant app, an unexpected behavior occurs where the main bottom bar, containing options for user interaction, behaves erroneously. Specifically, after selecting a language and being redirected to the profile tab, subsequent clicks on the profile button result in the screen splitting and another profile tab appearing. This behavior disrupts the app's navigation flow and creates confusion for users.
To Reproduce
Open the restaurant app.
Navigate to the language tab or settings offering language selection.
Choose a different language from the available options.
Observe that the user is redirected to the profile tab.
Click on the profile button again from the bottom bar.
Expected behavior
After selecting a language and being redirected to the profile tab, subsequent clicks on the profile button from the bottom bar should not result in the screen splitting or the appearance of another profile tab. Instead, the user should remain on the profile tab without any changes to the screen layout.
Screenshots
screen-20240307-131005.mp4
Smartphone (please complete the following information):
Device: IOS & Android.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the language-change flow on iOS and Android, then trace the language selection redirect and the bottom-bar profile action. Done means selecting a language still reaches the profile tab without splitting the screen or creating a duplicate profile tab when the profile button is clicked again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100