handleUpKey method

  1. @override
void handleUpKey(
  1. KeyboardEvent event
)
override

Implementation

@override
void handleUpKey(html.KeyboardEvent event) {
  if (showPopup) {
    event.preventDefault(); // Prevent input caret from jumping.
    event.stopPropagation();
    if (!_isFocused) focus();
    activeModel.activatePrevious();
  }
}