Pressing any keyboard key in a readwrite dropdown with a selected value

A minor bug. If you press any keyboard key, including ones that do not edit the text such as or even just Ctrl, inside a selected dropdown value that can be edited, the text becomes unselected. What I mean is that it is no longer italicized:

(split [] by [[letter] v])
(split [] by [letter v]) // after pressing any key while editing the dropdown input

(By selected I do not mean the text is in blue, but wrapped in a special data type called selector.)

it’s likely because the keys aren’t in snaps database for selection (then again I could be very wrong.)

You can try just clicking on the items inside the dropdown…

  1. Grab a split () by () block
  2. Open the dropdown of the second input and select any option.
  3. Click on the second input (the dropdown) to edit it. It should be italicized, right?
  4. Press any keyboard key.
  5. The text is no longer italicized.

That’s a unique bug! Although, it’s not that serious. So I doubt the mods will fix it. But then again snap will update eventually.

It is because the text being unselected occurs when any key is pressed, no matter what the key is. Even Pause/Break triggers this.

good eye for catching that. But again:

You obviously know a lot more about snap than me, so I’m more or less just dead weight to this topic. Sorry for the mix up

It is okay.