Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-08-20 16:27:12 +03:00
parent 977a06b093
commit 2cbbc57118

View File

@ -3987,8 +3987,7 @@ var HTMLItemPrototype = {
var parent = this.parent var parent = this.parent
// XXX needs i and context... // XXX needs i and context...
// XXX this should only replace the element, now it replaces // XXX see issue with .elem above...
// both the elem and the children...
this.elem = parent.renderItem(this, 0, {}) this.elem = parent.renderItem(this, 0, {})
// XXX handle children... // XXX handle children...
@ -5122,6 +5121,12 @@ var HTMLBrowserPrototype = {
button_keys[k].click() } }) button_keys[k].click() } })
item.dom = elem item.dom = elem
// XXX for some reason this messes up navigation...
// to reproduce:
// - select element with children
// - press right
// -> blur current elem
// -> next elem not selected...
//item.elem = elem //item.elem = elem
return elem return elem