ji-devs / ji-devs/ji-cloud

Drag and drop - snap to center - when same letter can be placed in several places, then the snap does not work

Open
#3,792 0 comments 0 reactions 1 assignee View on GitHub

@johnnynotsolucky is already working on this.

Since Apr 5, 2023.

Activity: Drag & drop
Dominant language
Rust
Stars
14
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Problem: If multiple letters can be placed in one trace (eg letter A can be used in several places, then it does not snap)

Possible solutions to discuss with @johnnynotsolucky

  1. If you are in the use cases for ‘Word building’ or ‘Sentence building’, then always snap the first item to the position the teacher placed it in. (Logic being that always 1 item will be correct in the trace) (PREFERED SOLUTION)
  2. When first item placed in any use case, it will snap to the middle (problem when setting a table…)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.