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

fix(ui): board drop targets #7041

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

psychedelicious
Copy link
Collaborator

Summary

We just changed all buttons to use onPointerUp events to fix Apple Pencil behaviour. This, plus the specific DOM layout of boards, resulted in the onPointerUp being triggered on a board before the drop triggered.

The app saw this as selecting the board, which then reset the gallery selection to the first image in the board. By the time you drop, the gallery selection had reset.

DOM layout slightly altered to work around this.

Related Issues / Discussions

https://discord.com/channels/1020123559063990373/1149506274971631688/1291975564563054613

QA Instructions

Drag and drop multiple images between boards

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)

@github-actions github-actions bot added the frontend PRs that change frontend files label Oct 5, 2024
We just changed all buttons to use `onPointerUp` events to fix Apple Pencil behaviour. This, plus the specific DOM layout of boards, resulted in the `onPointerUp` being triggered on a board before the drop triggered.

The app saw this as selecting the board, which then reset the gallery selection to the first image in the board. By the time you drop, the gallery selection had reset.

DOM layout slightly altered to work around this.
@hipsterusername hipsterusername force-pushed the psyche/fix/ui/board-drop-targets branch from 480fd49 to 63f0118 Compare October 5, 2024 11:57
@psychedelicious psychedelicious merged commit 01bbd32 into main Oct 5, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/ui/board-drop-targets branch October 5, 2024 21:15
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants