[HOLD for payment 2021-12-06] Web - Chat - Update popup animations on web/desktop to pop open instead of fade/slide
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
- Go to https://staging.new.expensify.comand login
- Click the
+icon in a Group DM text input and verify the popup menu
Expected Result:
The animation for the popup should open like in https://github.com/Expensify/App/issues/6121#issuecomment-964433800. 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?
- Web
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:
https://user-images.githubusercontent.com/43996225/139499750-f20806ad-7b71-4698-a2e3-699053f55ca8.mp4
Expensify/Expensify Issue URL: Issue reported by: Slack conversation:
Triggered auto assignment to @Jag96 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
@kavimuru I'm not sure I understand Popup in text input flies out and disappears for a moment. It looks like the issue is that when the pop-up menu comes up, one of the options can be auto highlighted, and then when moving the mouse the item is no longer highlighted (the fix would be to not highlight items while the animation is happening). Am I understanding that correctly?
@Jag96 This is an extreme edge case and You can reproduce the same behaviour for the FAB menu. Steps:
- Click on the FAB.
- When the menu is transitioning, continue clicking the FAB Button area.
- Menu will toggle hide and show the state on every click.
I'm still not seeing any bug in the description video other than the one in https://github.com/Expensify/App/issues/6121#issuecomment-955069723, @kavimuru please can you clarify the Actual Result for me?
Menu will toggle hide and show the state on every click.
Is this the same issue that is being described in the description? @parasharrajat If it is the same issue, can you provide an Action Performed, Expected Result, and Actual Result for the FAB case as well?
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 https://github.com/Expensify/App/issues/6121#issuecomment-955110098 is different from this one.
@Jag96
Here is the video
https://user-images.githubusercontent.com/24370807/139772531-fbdb9027-b5e0-4b37-a40f-751ea1366e2e.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 https://github.com/Expensify/App/issues/6121#issuecomment-957017886
Triggered auto assignment to @megankelso (Design), see these Stack Overflow questions for more details.
@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:
https://user-images.githubusercontent.com/49413768/140985606-568292d8-f5a6-4ac0-8461-53900ccfe847.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 👀
Triggered auto assignment to @dylanexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.