vakata/jstree — Issue #163: Double-click handler shouldn't modify window selection
Author: njx
Created: 2012-01-17 00:38:00+00:00
State: open

In pre1.0_fix_1, jstree adds a dblclick handler that attempts to clear the window's selection. In my case, this ends up breaking other code that has the selection set in a different element.

Ideally, jstree shouldn't modify the global window selection; it should just set user-select: none in browsers where that works. A more compatible solution might be to check whether the selection is actually inside jstree, and only clear it in that case.