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 bullet is duplicated on two contexts that share a Lexeme #2005

Open
raineorshine opened this issue Jun 5, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@raineorshine
Copy link
Contributor

Steps to Reproduce

- a
  - cat
    - b
  - cats
  1. Activate the context view on cat.
  2. Set the cursor on either of the a contexts.

Current Behavior

The cursor bullet is rendered on both a contexts.

image

Expected Behavior

The cursor bullet should only be set on the selected context.

Notes

The cursor is identical in either case, since the a contexts are actually the same thought. However, cat and cats are different thoughts, and that information should be available in the LayoutTree. However, we may need to add a new state variable, cursorIndex, so that selectors in other components can access the context that is actually selected.

@raineorshine raineorshine added the bug Something isn't working label Jun 5, 2024
@raineorshine raineorshine added this to the 📖 Context View milestone Jun 5, 2024
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
None yet
Development

No branches or pull requests

1 participant