marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native

Enatega Rider Application: Language button names gets changed once we just click on on it

Open
#658 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The name of the language button changes immediately when clicked, even before confirming or selecting a new language. This creates confusion for users as they might think the language has changed without completing their intended action.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Rider Application'
Enter login credentials
Now keep an eye on Language Button , the language button changes immediately when clicked, even before confirming or selecting a new language.
Expected behavior

Clicking on the language button should display a menu or dropdown with language options without immediately changing the button’s name.
The button’s name should only change after the user selects and confirms a new language.
Screenshots

1737712063680.4.mp4
Smartphone (please complete the following information):

Device: [e.g. iPhone 15,Infinix Hot 50]
OS: [e.g. iOS, Android ]
Browser [e.g. Application]
Version [e.g. Latest].

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the language-button behavior in the Enatega Rider Application after login, then trace the language selector entry point and its state changes. The fix is complete when opening the selector does not rename the button, and the name changes only after a language is selected and confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.