Release 2018-5: Closing language dropdown issues
Description
The language dropdown as it was introduced with release-2018-5
does not behave as defined in specs:
- it remains opened after a new language is added
- it cannot be closed by clicking outside of it after a new language is added
Environment
release-2018-5
- not browser specific
Reproduction steps
- Using the release-2018-5 build, open the ABP Options page
- In the 'General' tab, under 'Languages', click 'Add a language'
- Select any of the languages from the list
--> notice that the dropdown remains opened
- Click anywhere outside of the dropdown
--> notice that the dropdown remains opened
Desired behaviour
Language dropdown should close automatically after adding a language, as specified here: https://gitlab.com/eyeo/specs/spec/blob/2d6cb6c6e804ce054187360146f8e779cd01b951/spec/abp/options-page.md#behaviour-1
Clicking outside of the dropdown should close it, as specified here: https://gitlab.com/eyeo/specs/spec/blob/2d6cb6c6e804ce054187360146f8e779cd01b951/spec/abp/options-page.md#drop-down