fix!: Redundant blockly non selectable #8328 (#8433)

* 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:
dakshkanaujia
2024-07-30 20:54:15 +05:30
committed by GitHub
parent 4b95cb77af
commit dc1f276759
4 changed files with 12 additions and 12 deletions

View File

@@ -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);