-
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, then close] [$1000] There's a gap between the category picker & category header in EmojiPicker. You can slightly see the emojis in the background when scrolling. #15282
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
Please see the linked Slack thread for additional context before you triage the bug report. |
First thing on docket tomorrow. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Edit: Quick summary of timeline on bug reports here:
|
This bug is indeed reproducibl on latest iOS app version. Not reproducible on other platforms as far as I can see (desktop/web). The bug is especially reproducible if you quickly scroll, stop, and then slowly scroll between various emoji categories. Basically vary the scroll speed. |
Cleaned up the title and body fo this GH so it's ready to be worked on. Going External with this one. |
Job added to Upwork: https://www.upwork.com/jobs/~013f651b003d7c167a |
Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Triggered auto assignment to @thienlnam ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.As per the above bug report the there is a gap between the emoji category picker and the headers in the scrolling list of emojis exposing the emojis behind the header. What is the root cause of that problem?After digging into this issue I discovered that this is only occurring on select screen sizes and ratios. For example I was able to reproduce the issue in chrome when the screen resolution of 390 x 844 (iPhone 12 pro) at 87% scaling. It seems that the emoji picker headers using a sticky css property can in some instances on smaller screens position them slightly below the category picker. This seems to be related to how sticky headers like those in the emoji picker can have a small bouncing behaviour in different browsers (see chrome bug https://bugs.chromium.org/p/chromium/issues/detail?id=734461). What changes do you think we should make in order to solve the problem?Testing locally i have found adding a simple
Another option that I have tested and also works is to only modify the
This change to top brings the header up just slightly enough to cover the gap that exists and is causing this bug. What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
📣 @patrickcze! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
@patrickcze Please read the contributing guide and follow the proposal template. |
Contributor details |
@s77rt unfortunately I don't think there is a good way to have the header slide up 1px to cover the gap while maintaining the full height of the emoji when hovered. I could look at potentially adding padding to the bottom row of each category of emojis but that seems to be a complex solution to the original issue. The category picker change would be a simpler solution |
@patrickcze I'm pretty sure we can still fix this in the category header. Will discuss this internally. In the meantime please check furthermore on how we can fix this with the least changes. |
@s77rt I have come up with an alternative solution that will resolve the regression without modifying the category selector. I have drafted the fix in this commit: 7227252 Basically im determining for each emoji in the picker if the next row will be a header, if it is im providing it the same amount of space to increase in size by the the header will move up by. This allows the gap issue to be resolved without the header cutting into the row of emoji above. Let me know if you think we can move forward with this solution. |
@patrickcze Thanks for the update. Please do not post code diff, proposals should always be in plain English. We will revert the PR for now, still discussing if we should fix this. |
ProposalPlease re-state the problem that we are trying to solve in this issue.As per the above bug report the there is a gap between the emoji category picker and the headers in the scrolling list of emojis exposing the emojis behind the header. After our initial fix a regression was found where the outline of highlighted emojis was cutoff on the rows above headers. What is the root cause of that problem?After digging into this issue I discovered that this is only occurring on select screen sizes and ratios. For example I was able to reproduce the issue in chrome when the screen resolution of 390 x 844 (iPhone 12 pro) at 87% scaling. It seems that the emoji picker headers using a sticky css property can in some instances on smaller screens position them slightly below the category picker. This seems to be related to how sticky headers like those in the emoji picker can have a small bouncing behaviour in different browsers (see chrome bug https://bugs.chromium.org/p/chromium/issues/detail?id=734461). What changes do you think we should make in order to solve the problem?Testing locally i have found adding a simple
To resolve the regression found on windows, I would modify the What alternative solutions did you explore? (Optional)I have looked at modifying the category selector at the top to extend a pixel downwards and cover the gap but this makes the category picker and the scrolling list of emoji dependent on each other and could lead to future issues if something is inserted between them. Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
@s77rt I formalized the proposal for the fix from the code diff, please let me know if you decide to move forward with this. |
@s77rt any update on this one? |
@patrickcze Not yet, still waiting for some feedbacks |
@patrickcze, @michaelhaxhiu, @s77rt, @thienlnam Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Not overdue, still discussing internally. |
@patrickcze Thanks for your continuous efforts here. Unfortunately it has been decided to do nothing for this issue. I'm sure you can find more issues to work on, checkout issues with Help Wanted label. |
|
@s77rt thanks for the details, that's really unfortunate that I won't get the opportunity to resolve the regression. The revised proposal above does solve the issue if anyone changes their mind. |
Note: we are discussing and almost reached a verdict here. Thanks for your patience. |
Just jumping in to provide some more context here. After exploring this further we think the chance for regression/recurrence is high, and thus it's best to close the job. We still really appreciate the involvement in finding and attempting to fix it! In this case, we will award a 25% payout of the bounty for your efforts since the job was closed during progression.
Upwork job is here, and I invited everyone = https://www.upwork.com/jobs/~013f651b003d7c167a |
@patrickcze, @michaelhaxhiu, @s77rt, @thienlnam Huh... This is 4 days overdue. Who can take care of this? |
I think we are good to close this one? |
@patrickcze, @michaelhaxhiu, @s77rt, @thienlnam Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@michaelhaxhiu Can you please close this one |
Hi @michaelhaxhiu, just a friendly reminder that I haven't yet been paid for this. I had accepted the offer but never got paid. |
hm weird, i bet it just got lost in the mix after this GH was closed. |
sent you an offer for $250, can you DM me when you accept it? |
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:
In a sense the emojis flicker and bleed through the background of the gap.
Expected result:
There should be no gap & you should not be able to see the emojis behind any views.
Actual Result:
There is a gap between the category picker & category header thus you can briefly see emojis in that gap while scrolling
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.74-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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
BCSQ2473.MP4
emoji-gap.MP4
Expensify/Expensify Issue URL:
Issue reported by:
@priyeshshah11@aimane-chnaifSlack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676670494692149
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: