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:
@@ -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)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user