SJRK-13: onchange not always firing for select element

Metadata

Source
SJRK-13
Type
Bug
Priority
Minor
Status
Closed
Resolution
Fixed
Assignee
Gregor Moss
Reporter
Gregor Moss
Created
2017-10-20T17:17:11.930-0400
Updated
2017-10-31T15:09:15.629-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool UI

Description

In the storytelling tool, the language select element isn't always firing the change event when the DOM has indeed changed.

How to reproduce the issue:

  • type a language into the text input field, the select element's selectedIndex will change to index 4 and will not fire the change event
  • choose a new language from the select element, the selectedIndex will change to this new option, but the change event will still not fire.
  • choose a second language from the select element, and the event will fire

There are also tests to illustrate this behaviour

Comments