Skip to content

[BUG] Language Change Applied Without Confirmation in Modal #632

@akib22

Description

@akib22

Describe the bug
When a user attempts to change the language in the application, a modal dialog opens for language selection. If the user selects a language from the list, the UI immediately updates to that language—even if the user has not clicked the "Confirm" button. If the modal is closed or canceled without confirmation, the language change still takes effect. This behavior is unexpected and may confuse users, as changes should only be applied after explicit confirmation.

To Reproduce
Steps to reproduce the behavior:

  1. Open the language change modal.
  2. Select any language from the list.
  3. Without clicking the "Confirm" button, either close the modal or click "Cancel."
  4. Observe that the UI updates to the newly selected language even though confirmation was not given.

Expected behavior
The selected language should only be applied if the user clicks the "Confirm" button. If the modal is closed or canceled, the language should remain unchanged.

Video
https://github.com/user-attachments/assets/92cd8daa-ad70-40b2-b8eb-a5f574112544

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions