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

when you scroll down or explore through the entries, the input clears #48

Open
meh-didi opened this issue Jan 2, 2024 · 4 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@meh-didi
Copy link

meh-didi commented Jan 2, 2024

Expected Behavior

when you scroll down or explore through the entries, the input clears

Current Behavior

when scrolling down or exploring through entries, the input should not clear

Steps to Reproduce

  1. start writing a new entry

  2. scroll down until you no longer see the input field

@meh-didi meh-didi added the bug Something isn't working label Jan 2, 2024
@shubhammantri1
Copy link

shubhammantri1 commented Jan 2, 2024

Hi @meh-didi,
I would like to give it a try. I am able to reproduced the issue. Can you please assign this bug to me.

@meh-didi
Copy link
Author

meh-didi commented Jan 2, 2024

Hi @meh-didi, I would like to give it a try. I am able to reproduced the issue. Can you please assign this bug to me.

@shubhammantri1 I don't have the rights, we should ask @UdaraJay 😁

@UdaraJay
Copy link
Owner

UdaraJay commented Jan 6, 2024

the reason for this is the virtualized timeline- it removes the entry if you scroll too far away from it.

ideal fix is to keep track of the entry in focus (store index) within TimelineContext and use that to pin the entry to the top. it might be doable via virtuoso, otherwise likely more complicated.

@shubhammantri1
Copy link

Hi @UdaraJay ,
Can you please my PR once for this issue.

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

3 participants