Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit dcc57f1

Browse files
committed
docs(select): add known issue about Firefox selection behavior
Related to #9134
1 parent 602fa69 commit dcc57f1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/ng/directive/select.js

+13
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,19 @@ var SelectController =
382382
* @param {string=} ngAttrSize sets the size of the select element dynamically. Uses the
383383
* {@link guide/interpolation#-ngattr-for-binding-to-arbitrary-attributes ngAttr} directive.
384384
*
385+
*
386+
* @knownIssue
387+
*
388+
* In Firefox, the select model is only updated when the select element is blurred. For example,
389+
* when switching between options with the keyboard, the select model is only set to the
390+
* currently selected option when the select is blurred, e.g via tab key or clicking the mouse
391+
* outside the select.
392+
*
393+
* This is due to an ambiguity in the select element specification. See the
394+
* [issue on the Firefox bug tracker](https://bugzilla.mozilla.org/show_bug.cgi?id=126379)
395+
* for more information, and this
396+
* [Github comment for a workaround](https://github.com/angular/angular.js/issues/9134#issuecomment-130800488)
397+
*
385398
* @example
386399
* ### Simple `select` elements with static options
387400
*

0 commit comments

Comments
 (0)