ngocthanhcr / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

Color chooser has problems with toolbox within modal dialog #171

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

if i use a FieldColour in a Blockly running in a jQuery.ui dialog,

I run into problems with the tabindex="0" of the toolbox.

When i comment the following line 

goog.ui.tree.TreeControl.prototype.attachEvents_ = function() {
....
  //el.tabIndex = 0;
....
}

everything works fine again.

Has anyone an idea why the goog framework use a tabindex="0" there?

For me it seams to make no sense an i have an issue with this which i can not 
explain further, because i don't understand why this change the dom focus. It 
seams it is completely independet of the z-index.

Friendly regards Heiko

Original issue reported on code.google.com by henn...@mst.ch on 16 Oct 2013 at 12:18