Open lanitochka17 opened 1 week ago
Triggered auto assignment to @garrettmknight (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@garrettmknight FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra (External
)
Hi, I am Michael (Mykhailo) from Callstack, an expert agency and I can work on this issue.
For context:
However, this issue describes a little bit different problem.
Actively working on the issue.
Discussing a proposal internally.
@garrettmknight, @shubham1206agra Eep! 4 days overdue now. Issues have feelings too...
@rezkiy37 is there anywhere I can follow along with the proposal in slack?
The empty keyboard suggestion is displayed below the numeric keyboard and overlaps the "Next" button. It prevents continuous input in the Amount field because tapping a number on the numeric keyboard only dismisses the empty suggestion pop-up without registering the number. The empty suggestion pop-up appears with each tap on the numeric keyboard. This issue also makes proceeding difficult, as the empty suggestion pop-up covers the "Next" button.
The empty suggestion pop-up cannot be hidden from React Native programmatically. There was a PR that helped to hide the QuickType bar, but not this particular empty bar.
Since this text input is controlled by the custom numeric buttons, it is not actually an input on native platforms. Moreover, the app passes tons of props and does many other work such as computing, lifecycle, and hooks. However, it is just a text for the user. So I am proposing to simplify AmountTextInput for native platforms. It should use the Text component with same styles.
function AmountTextInput(
{style, containerStyle, formattedAmount, placeholder}: AmountTextInputProps,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
_ref: ForwardedRef<BaseTextInputRef>,
) {
const theme = useTheme();
const shouldShowPlaceholder = !formattedAmount;
return (
<View style={containerStyle}>
<Text style={[style, shouldShowPlaceholder && {color: theme.placeholderText}]}>{shouldShowPlaceholder ? placeholder : formattedAmount}</Text>
</View>
);
}
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.43 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): applausetester+omqq1@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Precondition: user has signed in
Expected Result:
The user should be able to continuously input numbers in the Amount field without any interruptions, and all taps on the numeric keyboard should be properly registered. The "Next" button should remain fully accessible
Actual Result:
The empty keyboard suggestion is displayed below the numeric keyboard and also overlaps the "Next" button. It prevents continuous input in the Amount field because tapping a number on the numeric keyboard only dismisses the empty suggestion pop-up without registering the number. The empty suggestion pop-up appears with each tap on the numeric keyboard. This issue also makes it difficult to proceed, as the empty suggestion pop-up covers the "Next" button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/dbd0e4ef-066c-462a-8ca1-828d212a5808
View all open jobs on GitHub