-
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
[HOLD for payment 2021-12-06] Web - Chat - Update popup animations on web/desktop to pop open instead of fade/slide #6121
Comments
Triggered auto assignment to @Jag96 ( |
@kavimuru I'm not sure I understand |
@Jag96 This is an extreme edge case and You can reproduce the same behaviour for the FAB menu.
|
I'm still not seeing any bug in the description video other than the one in #6121 (comment), @kavimuru please can you clarify the
Is this the same issue that is being described in the description? @parasharrajat If it is the same issue, can you provide an |
Issue reproducible during KI retests. |
@Jag96 I believe the issue minor. When you click on the popup it sort of slides overlapping with the content. We haven't seen it with other popups, so team decided to log it. See below 2 images |
@mvtglobally thanks for the context, it looks like this is being caused by the animation style for the PopoverMenu component, the same effect can be seen when clicking on an IOU detail and opening the option to pay: Going to tag @Expensify/design here to confirm this is the behavior that we want, if not we can update the animation style and if so we can close this issue. |
Ok. Looking at the new comments, the issue reported here #6121 (comment) is different from this one. Here is the video output_file.mp4 |
@parasharrajat good find! I think that can be filed separately then, feel free to post it in slack |
Adding design label to get input on #6121 (comment) |
Triggered auto assignment to @megankelso ( |
@Jag96, @megankelso Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
hi, sorry for the delay. I believe this animation style is behaving as expected. But I see what you're saying and I feel like it could be cleaned up. What if instead of the fade and scroll up it just pops open? such as in this example: Screen.Recording.2021-11-09.at.1.44.19.PM.mov |
I agree that looks much cleaner. It looks like the fadeIn/fadeOut animation is a consistent default across the app (for example, try setting a profile picture), would we want to update the default to be no animation for all popovers like these? |
I'm down to standardize on the in-place fade in/out for these kinds of things on desktop. For mobile, I still think we'd want to launch this menu (which actually becomes more like a modal) from the bottom though. |
Sounds good, do we want to leave the fadeIn/fadeOut for mobile as well? Or remove the fade on mobile and just have it slideInUp/slideOutDown rather than fadeInUp/fadeOutDown? |
I think mobile is probably fine as-is, so I wouldn't change anything there. But curious if others agree too! |
I think mobile is fine but would be up for cleaning up the animation on web |
Sounds good! Updating the title and making external, thanks for the 👀 |
I think updating the timings for POPOVER in getModalStyles will be enough as it is not used on Mobile native.
Docs do not say that it accepts null but I will check the code if it does I will pass that. Otherwise, we have to manage it with timings. Question: do we not want to keep any animation at all? |
👍
👍
On mobile, we want to keep all animations as they are now, but on web/desktop we want to remove the animation. @parasharrajat your proposal sounds good then, if you have any more questions feel free to ask otherwise feel free to start on a PR. @dylanexpensify let's hire @parasharrajat for this one! |
On it! |
@parasharrajat mind applying for the job? |
@dylanexpensify Just did. Sorry for not doing proactively. |
haha no worries at all @parasharrajat! I've barely had coffee, so that reaction time was 🔥 :). Sent the offer! |
@Jag96 Do we need to remove animation from the FAB menu as well? |
I believe we want to keep that the same, @shawnborton @megankelso thoughts on the FAB menu animation? |
yes I think that one is ok as is! |
The current FAB menu animation on desktop fades in and slides in from the left to right, which I think is super weird. I think we should update the FAB animation to match the other desktop styles we're proposing here. |
sorry I think I'm confused. to clarify, is this the animation you're referring to? Screen.Recording.2021-11-17.at.8.05.13.AM.mov |
Yup - I think that animation can be replaced with what we're recommending for other menu popups where the menu itself doesn't change horizontal or vertical position - it just fades in very quickly into place. |
hmm. just a flag away. Let me know your final thoughts..... |
so What should I do now finally for that? @shawnborton @megankelso |
I think whatever desktop animation you are using for popups should be used for the FAB on desktop as well. Let's standardize on the same thing everywhere if possible. |
Ok. Updating the PR now. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.16-10 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 2021-12-06. 🎊 |
Ping for |
On it now! |
Payment sent, contract ended, job closed |
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:
+
icon in a Group DM text input and verify the popup menuExpected Result:
The animation for the popup should open like in #6121 (comment). In addition to the example in the description, any other animation using fadeInUp/fadeOutDown should be updated on web/desktop.
Actual Result:
The animation for the popup slides and fades.
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.1-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5303247_Recording__158.mp4
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: