mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
* Remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes * Removed .gitpod file * fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes https://github.com/google/blockly/issues/8328 * fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes #8328 * fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes #8328 * fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes #8328 * fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes #8328 * fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes
This commit is contained in:
@@ -82,9 +82,10 @@ export class Menu {
|
||||
* @param container Element upon which to append this menu.
|
||||
* @returns The menu's root DOM element.
|
||||
*/
|
||||
|
||||
render(container: Element): HTMLDivElement {
|
||||
const element = document.createElement('div');
|
||||
element.className = 'blocklyMenu blocklyNonSelectable';
|
||||
element.className = 'blocklyMenu';
|
||||
element.tabIndex = 0;
|
||||
if (this.roleName) {
|
||||
aria.setRole(element, this.roleName);
|
||||
|
||||
Reference in New Issue
Block a user