Pile icon indicating copy to clipboard operation
Pile copied to clipboard

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

Open meh-didi opened this issue 1 year ago • 4 comments

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 avatar Jan 02 '24 08:01 meh-didi

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 avatar Jan 02 '24 15:01 shubhammantri1

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 😁

meh-didi avatar Jan 02 '24 16:01 meh-didi

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.

UdaraJay avatar Jan 06 '24 22:01 UdaraJay

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

shubhammantri1 avatar Jan 14 '24 08:01 shubhammantri1