-
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
[$500] mWeb - Emoji skin tone selector is partially hidden when keyboard is in use #35403
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01d87fc1c0cabdcd5e |
Triggered auto assignment to @joekaufmanexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
We think that this bug might be related to #vip-vsb |
ProposalPlease re-state the problem that we are trying to solve in this issue. What is the root cause of that problem?This looks like a CSS issue. Seems like the property used to align the viewport height of the emoji container is not working properly. What changes do you think we should make to solve the problem?We can easily update the viewport property of the container responsible for the positioning of the emoji component. This will solve the issue What alternative solutions did you explore? (Optional)Another method to solve this could be with the help of spacing properties in CSS we can calculate the height of the trimmed area and add that height to the container bottom. |
Same root cause as #35380 |
Sounds good. Closing as this is a dupe of that issue! |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb - Emoji skin tone selector is partially hidden when keyboard is in use What is the root cause of that problem?When emoji open we have a popoverInnerContainer set 95% Lines 1624 to 1627 in 22cb01c
But when calculate the height of emojiPicker at this line
we using full windowHeight so the height of children will be more than the height of popoverInnerContainer. What changes do you think we should make in order to solve the problem?At this line instead of using windowHeight we should update by using popoverInnerContainer height const listStyle = StyleUtils.getEmojiPickerListHeight(isListFiltered, windowHeight * 0.95); or update popoverInnerContainer What alternative solutions did you explore? (Optional)Instead of using height percentage we can use fixed align top height const EMOJI_OFFSET_TOP = 50
const listStyle = StyleUtils.getEmojiPickerListHeight(isListFiltered, windowHeight - EMOJI_OFFSET_TOP); and update innerContainerStyle innerContainerStyle={{...styles.popoverInnerContainer, maxHeight: windowHeight - EMOJI_OFFSET_TOP}} |
@joekaufmanexpensify Looks like the root cause of this issue is different from #35380. Could you please reopen this @joekaufmanexpensify? We have a proposal. |
This comment was marked as outdated.
This comment was marked as outdated.
@parasharrajat It still happens on the latest main and latest staging, can you try it on a smaller device? Screen.Recording.2024-03-04.at.20.17.13.mov |
Left my thoughts here. That other issue is already paying out $1k. I kinda feel like we should just handle both cases there since the behavior is quite similar. |
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.33-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:
Issue found when executing PR #34105
Action Performed:
Expected Result:
Emoji skin tone selector is shown completely with no extra padding
Actual Result:
Emoji skin tone selector is hidden partially and can't be selected clearly.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6360936_1706623482801.RPReplay_Final1706595388.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: