-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[RUSHAT to complete checklist] [$500] Web - Emoji picker - Holding down on scroll bar and sliding down selects emoji instead of scrolling #33709
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01c0bac704c1843b72 |
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
@kbecciv i can start working on this.... can you assign this to me?? |
📣 @ayushjha119! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Sticky header overlaps scroll bar. What is the root cause of that problem?The Sticky header from The 1st part of the scroll bar is overlapped and user can't click on it. What changes do you think we should make in order to solve the problem?Change the style of the StickyHeader children (because we don't have access to style the StickyHeader div) to give space for the scroll bar. <View style={[styles.emojiHeaderContainer, target === 'StickyHeader' ? styles.stickyHeaderEmoji : undefined]}> where StickyHeader is:
POC007.mp4 |
To support all browsers we can use the below: width: '100%',
width: '-webkit-fill-available',
width: '-mos-available',
width: 'fill-available', |
Can repro, let DB know in #vip-vsb here |
ProposalPlease re-state the problem that we are trying to solve in this issue.Instead of scrolling down the performed action results in selecting the emoji categories What is the root cause of that problem?The emoji picker header is defined here. It's wrapped into the Because this container has 320px width that makes the scroll bar is overlapped -> We can't click on scroll bar What changes do you think we should make in order to solve the problem?Seem like we don't have any direct ways to access the header container so we should change the style of the StickyHeader itself.
so we can calculate the style for StickyHeader as below:
What alternative solutions did you explore? (Optional)NA |
@tienifr you are copying my proposal. You're just trying to calculate width with js. |
@dragnoir, I don't think so. The RCA is easy to figure out, the hard part is finding the solution. I believe the best way is to fix StickyHeader's parent style but I can't find it on the documentation. If someone can find the simple way to override the parent style, I believe it will be chosen as the best solution.
I don't think your solution is good. |
@tienifr the hard part is how to override the parent absolute position without having access to it. I also mentioned how to make fill for all browsers. |
@rushatgabhane @jliexpensify I am a new contributor and it's mentioned here
Also I was watched lots of proposals and I am sure details like how to handle or how the team prefer to calculate width can be discussed throw PR. (Unless the proposal is wrong and it's not the case here) In my propsal I figured our the route cause problem and as you can see here lots of other developers was not able to figure out how to style the StickyHeader and how to eliminate the absolute position. |
@dragnoir Please read my comment carefully 🙏 . How do you know fill-available works for all platforms? I don't see any places in our App (or docs) do like that, it's quite messy.
Did you check this? I believe putting width: 100% will break the current behavior. I appreciate your time you spent here but I don't agree that you said my change is not important. Your solution doesn't work (width: 100%), so I suggest the way that works for all platforms, why isn't it important? We're trying to build the supportive society, I'm also glad to colab with you in this issue if my solution is chosen. For now, just wait to hear C+ review. Thanks |
Please check how CSS Overriding works. |
@rushatgabhane, @jliexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@rushatgabhane, @jliexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Bump @rushatgabhane for reviews please! |
@dragnoir thank you for the proposal. Your root cause looks good but I'm not a fan of the solution. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.24-8 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-01-22. 🎊 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
BugZero Checklist (@jliexpensify)
|
^ well that is new! As discussed:
Bump for Rushat to complete the checklist please! |
Just awaiting everyone to accept in Upworks and I shall pay out. |
Thank you. Accepted. |
Paying now - p.s. @dragnoir in the future, no need to submit work! We'll pay when the due date has passed. |
Paid and job removed. @rushatgabhane bump to complete the checklist please! |
@rushatgabhane bump to complete the checklist |
|
Hi @jliexpensify, I think the checklist was the only pending item here, correct? |
Yep @marcochavezf - contributors have been paid and job is now closed. Checklist is a WIP, so I'll close once Rajat updates it. |
manual request here - https://staging.new.expensify.com/r/3543070728552287 checklist done |
$500 payment approved for @rushatgabhane based on this summary. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v1.4.18-2
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The side bar should be able to scroll down
Actual Result:
Instead of scrolling down the performed action results in selecting the emoji categories
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6327469_1703768696724.emoji_scroll.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: