Bug 1559317 - prevent on mouse down default action on TreeView's tbody so it never gets focused state. r=mtigley

Differential Revision: https://phabricator.services.mozilla.com/D35335
This commit is contained in:
Yura Zenevich
2019-06-19 18:15:53 +00:00
parent 3ac5499648
commit 20409a7c92

View File

@@ -673,6 +673,8 @@ define(function(require, exports, module) {
dom.tbody({
role: "presentation",
tabIndex: -1,
// Prevent mouse down defaul action so that tbody never gets focused.
onMouseDown: event => event.preventDefault(),
}, rows)
)
);