-
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] Emoji picker - There is a noticeable lag with the emoji picker search input animation #33873
Comments
Triggered auto assignment to @trjExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~010a89f9bc9b6b84d8 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Commented in the linked issue, @aimane-chnaif & @bernhardoj let me know if I need to assign yah! |
yes, please assign. We can confirm |
📣 @abdulrahuman5196 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Cool, once @bernhardoj comments here I'll co-assign as well. |
Umm, I think @aimane-chnaif missed my comment here 😅 It shouldn't be reproducible anymore (at least from my testing). |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Assigning you in the meantime to keep track of it! |
Perfect, thanks! |
Still looking into this, I'm doing some simplification, merging some rerenders, but still seeing some lags |
ProposalPlease re-state the problem that we are trying to solve in this issue.When opening the Emoji picker dialog, the search emoji input gets focused and the placeholder is animated to a title. That animation is laggy. What is the root cause of that problem?When the Emoji picker dialog is open there are 2 animations happening, the disableLabel and the activateLabel at the TextInput component. The first one, it is to animate from title to placeholder, and the second one is from placeholder to title. Because of those 2 animation happening in parallel, the SearchInput looks laggy. What changes do you think we should make in order to solve the problem?In EmojiPickerMenu/index.js, we have to add the emojiPicker_chrome.mp4 |
@gedu thanks for the proposal. But the root cause is not correct. There's no issue with TextInput itself. |
I still dont find the offending PR, but just curious @aimane-chnaif what do you think of my solution :D
we can have a check for |
@aimane-chnaif Yeah, I was talking internally about the amount of objects being loaded, it is almost 2k, and asked if all of them should be loaded, and they told me yes. I will check making kind of a fake pagination, will update my proposal soon |
Any luck with that update, @gedu? |
@trjExpensify Yes, tried the pagination but wasn't good for the Emoji shortcut bar. So digging into the source code, found that it is based on another OSS RecyclerListView, where I found the Proposal What is the root cause of that problem? What changes do you think we should make in order to solve the problem?
emoji_picker_menu.mp4 |
@trjExpensify Friendly ping, wdyt about the new "proposal"? |
@gedu this lag doesn't happen on native even without setting I tested |
@aimane-chnaif could be because for native the default number is 250 and not 2k like web |
we can use 250, instead of 300 so all the platforms use the same, or we can create a config file and change the number depending on the Platform |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
If 250 is thoroughly tested on all platforms, I agree with it without having platform config. |
I also like @gedu 's proposal 👍 they're already assigned so please create the PR when ready! 😅 |
Cool, I will create a CONST value for it |
@aimane-chnaif @Beamanator PR created: #36486 |
PR hit staging 15 hours ago. |
@trjExpensify PR hit production on Mar 6 |
Ah, the automation didn't run for some reason. Payment summary as follows:
Paid you, Aimane. Closing! |
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: 1.4.21-1
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 search input label shouldn't have a noticeable lag.
Actual Result:
There is a noticeable lag as the search input label animates
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
ZeoPoqiVuk.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: