slackapi / slack-api-specs

Open API specifications for platform products by Slack
MIT License
222 stars 64 forks source link

external_multi_select view issue when pressing enter key #31

Open cerebrusdev opened 5 years ago

cerebrusdev commented 5 years ago

Description

Hi Slack team,

Pressing enter key in multi_select view causes view to crash. See details in below bug section.

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])


Bug Report

I am using views API to create a Modal that contains a multi_external_select element. When I type and try to select an item from options list via keyboard pressing enter key turns modal into "We can't fully display this message" dialog.

Reproducible in:

Development environment: Mac OS Mojave Slack app Web slack app on Google Chrome

Steps to reproduce:

  1. Open a modal view with multi_external_select element
  2. Start typing with computer keyboard to bring option suggestions
  3. Navigate with arrow down button and press enter button to select

Expected result:

The option I press enter on should be added to selected options

Actual result:

Dialog turns into "We can't fully display this message" dialog and the content is lost

Attachments:

Screen Shot 2019-11-03 at 10 36 26 PM Screen Shot 2019-11-03 at 10 36 19 PM