How does Beaker get content to appear on top of the BrowserViews?

I am building an application in Electron that uses BrowserViews. I am exploring Beaker for some inspiration on how to solve an issue I have encountered where I can’t get any content to appear above the BrowserView because it does not live in the dom. beaker does this very well, for example when clicking the settings to the right of the navbar that displays the dropdown. Where can I look in the Beaker source to learn how Beaker does this so well?

Thank!

I believe Beaker uses other browser views to display content on top :slight_smile:

Here’s a minimal example on how you could implement something like this: https://github.com/krismuniz/browser-view-example

Yeah, the trick is just to control the order that BrowserViews are added to the window. That’s how you can control the “z-order”