-
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
[$1000] Add animation when the emoji picker is closed #17982
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
@esh-g you have raised it |
Job added to Upwork: https://www.upwork.com/jobs/~010b1720ceac20d4b1 |
Current assignee @alexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Triggered auto assignment to @arosiclair ( |
Since this was discussed in Slack, I've assigned |
ProposalPlease re-state the problem that we are trying to solve in this issue.On mobile, the emoji picker popover is not being closed with animation compared to other popovers. What is the root cause of that problem?Currently the What changes do you think we should make in order to solve the problem?We would need to remove/update this line here
We would also need to verify there's no performance impact, since I'm guessing that's the reason this was set to 1 in the first place.
|
@aimane-chnaif @kmorales13 what kind of animation library is providing the animations, I think we would like to move everything to Reanimated 3 is possible. That coul dbe part of this issue since otherwise its a simple change |
The library used for Popovers/Modals, |
@aimane-chnaif I think its same as a bug, in this case so not necessarily if we can find as good solution from other contributors. |
Please note that the solution that @kmorales13 is suggesting was already suggested by me in the slack conversation (https://expensify.slack.com/archives/C01GTK53T8Q/p1681233318285209). Since this was a one-line change, I didn't post a Proposal yet as I was testing for better performance and accommodation of the animation for Screen.Recording.2023-04-27.at.1.18.04.PM.movBut even when we enable the animation for Screen.Recording.2023-04-27.at.1.27.49.PM.movThe solution is to use the Screen.Recording.2023-04-27.at.1.29.58.PM.movBut it also causes the |
@esh-g ok good, we won't assign anyone until we 1000% confirm that it won't cause any performance issue or any other regression. |
Interesting, I would like to hear from SWM if they can think of anything which might have better performance/ reliability for our needs here instead of the |
Thanks for raising that @esh-g I have also asked SWM if they have any suggestions how to improve this performance or maybe even use a different library for this popover which would use Reanimated for hopefully better performance |
@mountiny Should we just create a fork of |
We are really trying to avoid any forks, lets wait for what SWM will say about this. |
@esh-g ok let's continue with your direction, have you had any luck resolving the flickering issue? |
3 options:
I suggest 3rd option given priority to more urgent issues. What do others think? |
I think we also need to aim for cross platform alignment, if there is animation in android there should be same in iOS so I think we should explore the animations in iOS, there must be a good solution for this. We can get SWM, reanimated experts to help with this too if we define clearly what the problem is here. |
Good idea to export this to animation experts. |
I know but they could maybe propose changes in general to make this flow better. I think we prefer to move to something which uses reanimated. @esh-g what do you think? To confirm, we have reverted just the iOS solution, so this is implemented for Android right? |
Right, all keep same before creating this GH. |
@mountiny - Thank you for the update, should we change this one back to Daily? |
I'm going to make this a daily again since the solution was reverted. |
I think we can treat this as a new feature at this point |
Current assignee @alexpensify is eligible for the NewFeature assigner, not assigning anyone new. |
SWM is going to look at the options for the modal |
Thank you for the update @mountiny! |
No update |
@mountiny @aimane-chnaif Screen.Recording.2023-06-05.at.7.02.33.PM.movI am using the |
Here is a version with dynamic height adjustment and footer position: Screen.Recording.2023-06-05.at.7.57.30.PM-1.mov |
@esh-g looking good! |
I think this would require a separate Problem/Solution in the open source channel @esh-g are you willing to take that on? |
Yeah sure! 👍 |
Posted the Problem/Solution here: https://expensify.slack.com/archives/C01GTK53T8Q/p1686042129293829 cc @mountiny |
thanks |
@mountiny - I reviewed the Slack convo and it looks like this one needs some more tuning. Is that a good summary of where we are at here? |
@esh-g Actually I feel like we got to a freezing point, would you agree we can close this issue for now and come back to this maybe in future once there will be some better library or polish like this will be higher priority? Is there anything blocking us from closing this issue out? |
Alright, I see @esh-g 👍🏼, so I'm going to close this one out. |
Problem
On mobile, the emoji picker popover is not being closed with animation compared to other popovers.
This is border line bug and new improvement, it feel like inconcsistency bug
Why is it important
This is not consistent UI
Solution
Lets add an animation to this popover when its being closed
Comign from https://expensify.slack.com/archives/C01GTK53T8Q/p1682013158901689
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: