ytt icon indicating copy to clipboard operation
ytt copied to clipboard

Pressing enter on a filename in the playground removes the file

Open StevenLocke opened this issue 4 years ago • 2 comments

Reproduction steps:

Go to the playground and open one of the examples, e.g. Load data files

Attempt to rename a file, (like config.yml) and select the text box with the name.

Press enter.

Expected: The file name is saved

Actual: The file is removed.

StevenLocke avatar Nov 12 '20 19:11 StevenLocke

Update:

Pressing enter seems to delete the top-most item, regardless of which filename is selected.

Eg. In the same load data files example, pressing enter on "data2.csv" deletes the config file! Pressing enter again, deletes the data1 file!

StevenLocke avatar Nov 12 '20 19:11 StevenLocke

I was able to reproduce following the steps provided.

danielhelfand avatar Nov 17 '20 20:11 danielhelfand