-
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
[HOLD for payment 2024-06-20] [HOLD for payment 2024-06-18] [$500] IOS - Task - Unable to scroll down task description #41567
Comments
Triggered auto assignment to @zanyrenney ( |
We think this issue might be related to the #vip-vsb. |
nice, we should be able to scroll 100% so this is a bug. |
Adding external |
Job added to Upwork: https://www.upwork.com/jobs/~0180926895abca5e37 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task - Unable to scroll down task description What is the root cause of that problem?This situation occurs on IPhone/IOS due to the way scrolls work by default, they are automatically hidden and if like in this case if you are using an IPhone and scroll the parent component all the children transform their behavior temporarily (about 1s) to be scrollable and each one hides its own scrollbar. What changes do you think we should make in order to solve the problem?We should put the input description inside a ScrollView and disabling the scroll like: We should also add scrollEnabled={false} to the FormWrapper/ScrollView component (we can pass through a prop to disable the scroll only from the task description component), with this change we can control:
Tests: Before changes (Please note that if you wait a second you will be able to scroll): Input.Description.Scroll.Test.before.changes.mp4After changes: Test.with.scroll.enable.false.in.form.wrapper.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to scroll down task description on several use cases. Screen.Recording.2024-05-05.at.23.56.54.movWhat is the root cause of that problem?This issue related to What changes do you think we should make in order to solve the problem?We can workaround for this issue without any breaking change by listen ....
+ const [inputLayoutReady, setInputLayoutReady] = useState(false);
+ const onInputLayout = useCallback(
+ () => setInputLayoutReady(true),
+ [],
+ );
+ const inputPaddingStyle = useMemo(() => {
+ if (!inputLayoutReady) {
+ return [];
+ }
+ return [
+ (!hasLabel || isMultiline) && inputLayoutReady && styles.pv0,
+ !!prefixCharacter && StyleUtils.getPaddingLeft(StyleUtils.getCharacterPadding(prefixCharacter) + styles.pl1.paddingLeft),
+ ]
+ }, [StyleUtils, hasLabel, inputLayoutReady, isMultiline, prefixCharacter, styles.pl1.paddingLeft, styles.pv0]);
return (
...
<InputComponent
+ onLayout={onInputLayout}
style={[
styles.flex1,
styles.w100,
inputStyle,
+ ...inputPaddingStyle,
- (!hasLabel || isMultiline) && styles.pv0,
- !!prefixCharacter && StyleUtils.getPaddingLeft(StyleUtils.getCharacterPadding(prefixCharacter) + styles.pl1.paddingLeft),
... Screen.Recording.2024-05-06.at.00.30.25.movWhat alternative solutions did you explore? (Optional)workaround we can trigger scroll to current selection or bottom if |
Thanks everyone! For more context, we have another similar issue related to |
Proposal |
I can not reproduce this issue on latest (after react-native-live-markdown is updated). Screen.Recording.2024-05-07.at.10.12.03.mov |
Nice @hungvu193 - we can close this one out then 🎉 |
Hi @zanyrenney and @hungvu193, it is reproducible, the test should start by trying to scroll first from the middle (or any other side - outside of the input) of the screen and then you should try to edit the description (see my root cause y my proposal) |
Issue is still reproducible on the latest build 1.4.73-0 IMG_6870.MP4 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I can still reproduce! |
Hmm yeah. We should hold until that issue is fixed. The PR you mentioned was reverted 🤦 |
Still holding on above comment |
This comment has been minimized.
This comment has been minimized.
Hold for this one: |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
react-native-live-markdown was bumped here |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.81-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-18. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
#43340 reached production. We can now verify this issue |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-20. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
payment summary: For reference, here are some details about the assignees on this issue: @hungvu193 requires payment automatic offer (Reviewer) - paid $500 via upwork @hungvu193 please complete the steps above too. This doesn't need a new regression test. |
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: 1.4.70-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4538850
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
User is able to scroll down the task descriptionUser is able to scroll down the task description
Actual Result:
User is unable to scroll down the task description on the task confirmation screen and in created task
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6469698_1714716268755.IMG_6715.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: