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

Cursor Up: Cursor moves to incorrect thought after New Thought Above #2767

Open
raineorshine opened this issue Jan 11, 2025 · 0 comments
Open
Labels
bug Something isn't working preassigned I have someone in mind

Comments

@raineorshine
Copy link
Contributor

Steps to Reproduce

- a
  - b
    - =pin
    - b1
  - c
  1. Set the cursor on b1
  2. New Thought Above (Shift + Enter)
  3. Set the cursor on c
  4. Cursor Up (ArrowUp)

Current Behavior

The cursor moves to the new thought.

Expected Behavior

The cursor should move to b1.

Cursor Up should always move to the visible thought immediately above the cursor thought, regardless of hierarchy.

Testing

Add a test to https://github.com/cybersemics/em/blob/128153531a41c49eb19daf7eb784a40f768a1020/src/actions/__tests__/cursorUp.ts.

@raineorshine raineorshine added the bug Something isn't working label Jan 11, 2025
@raineorshine raineorshine added the preassigned I have someone in mind label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working preassigned I have someone in mind
Projects
None yet
Development

No branches or pull requests

1 participant