Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(app): fix password button rendering issue and update input field component #15145

Merged
merged 9 commits into from
May 10, 2024

Conversation

koji
Copy link
Contributor

@koji koji commented May 9, 2024

Overview

the issue is that when tapping the eye icon button, the entire screen is re-rendered and the caret is move to the left from the right.
use React.memo for this.

Introducing forwardRef to control focus() instead of using React event.
I think using ref would bring more flexibility to us.

remove secondary caption since it seems that secondary caption is just taken over from the original component which is library/inputfield and Mel asked why do we need that?

InputField component is existing in app right now but this should be moved into components.
Mel is requesting us to update Storybook. I think I will move input field into components after 7.3.0 and update stories and test cases.

close RQA-2697

Test Plan

Changelog

Review requests

Risk assessment

koji added 2 commits May 8, 2024 19:04
fix input field caret position issue

close RQA-2697
fix password input field behavior

close RQA-2697
@koji koji changed the base branch from edge to chore_release-7.3.0 May 9, 2024 16:28
@koji koji changed the title Fix rqa 2697 fix(app): fix password button rendering issue and update input field component May 9, 2024
@koji koji requested review from ncdiehl11, mjhuff and jerader May 9, 2024 17:06
@koji koji marked this pull request as ready for review May 9, 2024 17:15
@koji koji requested a review from a team as a code owner May 9, 2024 17:16
@koji koji removed the request for review from a team May 9, 2024 17:16
Copy link
Contributor

@mjhuff mjhuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix! Lgtm with passing CI.

@koji koji merged commit 21f917f into chore_release-7.3.0 May 10, 2024
26 checks passed
@koji koji deleted the fix_RQA-2697 branch July 4, 2024 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants