title: Android Jetpack Compose: Listen to user's keyboard input not working with Enter key
body: <p>I am trying to execute a function upon Enter Key pressed on soft keyboard and I <a href="https://stackoverflow.com/a/67898610/13892944">found</a> <code>Modifier.onKeyEvent{}</code> to listen to user input on soft keyboard in general.</p>
  <p>However, this doesn't work with Enter key(especially 'Done' key on number pad).</p>
  <p>My soft keyboard looks like this</p>
  <p><a href="https://i.stack.imgur.com/ysV1Hm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ysV1Hm.jpg" alt="enter image description here" /></a></p>
  <p>with this option below in TextField</p>
  <pre><code>keyboardOptions = KeyboardOptions.Default.copy(keyboardType = KeyboardType.Number)
  </code></pre>
  <p>when I print logs on any key pressed, all other keys press are recognized but those 'Done' and '.-' keys.</p>