Skip to content

Conversation

psychedelicious
Copy link
Collaborator

Summary

Handful of small changes, see commit messages for details.

Related Issues / Discussions

n/a

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

There are a number of bugs with `framer-motion` that can result in sync issues with AnimatePresence and the conditionally rendered component.

You can see this if you rapidly click an accordion, occasionally it gets out of sync and is closed when it should be open.

This is a bigger problem with the viewer where the user may hold down the `z` key. It's trivial to get it to lock up.

For now, just remove the animation entirely.

Upstream issues for reference:
motiondivision/motion#2023
motiondivision/motion#2618
motiondivision/motion#2554
Maybe this will fix @JPPhoto's issue?
There are unresolved platform-specific issues with this component, and its utility is debatable.

Should be easy to just revert this commit to add it back in the future if desired.
@github-actions github-actions bot added frontend-deps PRs that change frontend dependencies frontend PRs that change frontend files labels May 6, 2024
@JPPhoto
Copy link
Contributor

JPPhoto commented May 6, 2024

Did not fix the problem, sorry to report.

@hipsterusername hipsterusername merged commit 72ce239 into main May 6, 2024
@hipsterusername hipsterusername deleted the psyche/fix/ui/viewer-bugs branch May 6, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files frontend-deps PRs that change frontend dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants