close sidr menu when user clicks link - sidr

I'm developing a site that uses the sidr menu. This site also uses modal windows to display content. when a user presses a menu item and it opens a modal window, the window opens below the sidr menu.
should I:
A. stack the modal window above the slidr menu so the entire contents can be seen? This might work as the toggle menu button is covered.
B. Force the menu to close so the modal window is not closed.
I thought changing the z-index of the modal window would work but I can't get it to load above the menu. the z-index of the menu is 999999. I tried 1,000,000 for the modal window, but it still loads below the menu.
what else can I try?

Related

Window NSMenu adding extra NSMesnuItems (Swift, macOS)

I deleted all the menu items from the Window NSMenu except Minimize and Bring All to Front. However, when I run the app, three more menu items get added: Move Window to Left Side of Screen, Move Window to Right Side of Screen and Enter Full Screen. How do I remove these menu items? Has it got something to do with the attribute inspector of my Window (just a guess)?
For reference:

how to keep the dockMenu open when clicking items in cocoa app

i have items in my dock menu that needs the dock menu to stay open
when the items are clicked
im refering to when u right click on an app and you get the dock menu
automaticly, it closes it
anyway to override this?

Prevent closing cell editor in popup mode on outside click

I have custom text editor in table cell, after I select text in it I want to use top page panel to make it bold (outside of the table), but when I click on the button (on the top page panel) this action closes cell editor popup.
Is it posible to keep the cell editor open in popup mode after I click on buttons outside of the table?
In the current version of ag-grid (v24), clicking outside the grid does not close a popup editor, unless you set stopEditingWhenGridLosesFocus to true in the options.
See their example: https://www.ag-grid.com/javascript-grid-cell-editing/#example-dynamic-parameters

Is there way to handle system tray icon window over dropdown window

How to access/use the window which is underneath another window upon it, please click on the link to check this case
I'm using pywinauto to do this, is there a way to handle this case/issue.
Issue:
By following this link, able to open system tray and click on the icon, which results in drop-down menu.
But when i try to mover over mouse to click specific option from drop-down, hidden icons window re-appears on top of the drop-down list, which results in wrong click.
Is there a way to handle these windows?

How to display the main menu when Dock icon is hidden?

I developed a basic menubar app. How do you hide the dock icon and still have the Main Menu display when menubar app (status-item) is active?
Note: The Main Menu only displays If the dock icon is not hidden.
e.g. Main Menu (File, Edit, View etc at the left of the menu bar)