-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Web - Profile - No transition animation on 'Pronouns' selector #24545
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Proposal from @pbkompasz ProposalPlease re-state the problem that we are trying to solve in this issue.No transition animation on 'Pronouns' selector What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?Assign props to SelectionListRadio.propTypes = selectionListRadioPropTypes.propTypes;
SelectionListRadio.defaultProps = selectionListRadioPropTypes.defaultProps; These props contain the shouldDelayFocus <SelectionListRadio
headerMessage={headerMessage}
textInputLabel={props.translate('pronounsPage.pronouns')}
textInputPlaceholder={props.translate('pronounsPage.placeholderText')}
textInputValue={searchValue}
sections={[{data: filteredPronounsList, indexOffset: 0}]}
onSelectRow={updatePronouns}
onChangeText={onChangeText}
shouldDelayFocus
initiallyFocusedOptionKey={initiallyFocusedOption.keyForList}
/> <BaseSelectionListRadio
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
ref={ref}
shouldDelayFocus={props.shouldDelayFocus}
onScroll={() => {
// Only dismiss the keyboard whenever the user scrolls the screen
if (!isScreenTouched) {
return;
}
Keyboard.dismiss();
}}
/> Additionally we should remove the selectTextOnFocus What alternative solutions did you explore? (Optional)Alternatively we can remove the auto-focus from the input. |
ProposalPlease re-state the problem that we are trying to solve in this issue.No animation on Profile page and Timezone select page. For timezone select - Go to Profile > Timezone (animation is present here). Now click on timezone again and notice there is no animation here. What is the root cause of that problem?
App/src/pages/settings/Profile/PronounsPage.js Lines 107 to 116 in 21d483c
App/src/pages/settings/Profile/TimezoneSelectPage.js Lines 74 to 81 in 21d483c
It is present on other pages like App/src/components/NewDatePicker/CalendarPicker/YearPickerModal.js Lines 72 to 73 in 21d483c
What changes do you think we should make in order to solve the problem?We just need to pass What alternative solutions did you explore? (Optional)NA |
We don't use shouldDelayFocus anymore, there have been like 4 different issues about this with different pages, it would be nice if one of them could correct every pages |
For example this one: #22388 |
@ShogunFire
|
Thanks for the feedback, I'll review this GH soon. |
I've started a discussion here: I'm trying to verify if #22388 will include an update for all pages or if we should keep this GH open to address a specific page. |
No update, I've bumped the 🧵 again. |
@alexpensify yes they will #22388 (comment) |
this is dupe and will be covered here #24139 this can be closed @alexpensify |
Thank you for the feedback! I'm closing this GH because of the confirmation shared here and in Slack. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
There should be a transition animation when the Pronouns page is loaded
Actual Result:
No transition animation is shown
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.53-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screencast.From.04.08.2023.18.08.55.mp4
Recording.5821.mp4
Recording.1187.mp4
Expensify/Expensify Issue URL:
Issue reported by: @pbkompasz
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691161563063259
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: