os-js / osjs-gui

OS.js GUI Module

Home Page:https://manual.os-js.org/v3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a keep menu open function or thing for elements in a context menu

RossComputerGuy opened this issue · comments

I tagged the wrong issue in my commit, but this has now been solved.

I've added the 'closeable' attribute to a menu option:

[{
  closeable: false,
  element: () => h('div', {}, 'Custom component'),
}]

I also solved some issues relating to things not responding to input.