Skip to content
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

🐛 Notification pane background broken #10796

Closed
4 tasks
petertgiles opened this issue Jun 26, 2024 · 5 comments · Fixed by #10825
Closed
4 tasks

🐛 Notification pane background broken #10796

petertgiles opened this issue Jun 26, 2024 · 5 comments · Fixed by #10825
Assignees
Labels
bug Something isn't working.

Comments

@petertgiles
Copy link
Contributor

petertgiles commented Jun 26, 2024

🐛 Bug

The background "greyed out" overlay doesn't appear to be working. It doesn't appear until the pane is closed and then it prevents any interaction with the page.

📋 Steps to Reproduce

  1. Open the notification pane.
  2. Close the notification pane.
  3. Attempt to use the site.

📸 Screenshot

simplescreenrecorder-2024-06-26_16.19.02.mp4

✅ Acceptance Criteria

  • Background overlay appears when you open the pane.
  • Background overlay disappears when you close the pane.
  • You can interact with the site after closing the pane.
  • Playwright/Jest test to confirm this is working
@petertgiles petertgiles added the bug Something isn't working. label Jun 26, 2024
@brindasasi brindasasi added the review in scrum Ready to be looked at and pulled into "ready to dev" label Jun 26, 2024
@vd1992
Copy link
Contributor

vd1992 commented Jun 26, 2024

I think this has to do with the children of <AnimatePresence /> in NotificationDialog.tsx
I wonder if it has to do with Vite and specifically Framer Motion stuff, there was other animation issues in the PR

See #10611 (comment)
I don't know if this commit had a role but could offer clues 5be2315

@brindasasi brindasasi removed the review in scrum Ready to be looked at and pulled into "ready to dev" label Jun 27, 2024
@vd1992
Copy link
Contributor

vd1992 commented Jun 27, 2024

isOpen switching from true -> false no longer disappears the nested elements and I can't figure out why it stopped working
The easiest fix is to just break the animation but don't want to resort to that

image

@petertgiles
Copy link
Contributor Author

petertgiles commented Jun 27, 2024

Seems like a dependency bump of Framer killed it. I did a manual bisect search and this PR broke the feature:
#10709

@brindasasi
Copy link
Contributor

does reverting that pr get this up? If so I would vote to do that.

@petertgiles
Copy link
Contributor Author

does reverting that pr get this up? If so I would vote to do that.

I just pushed up a PR that rolls back that dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants