Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jet include in div templates and messages #85

Open
rinfante77 opened this issue Jul 5, 2022 · 0 comments
Open

Jet include in div templates and messages #85

rinfante77 opened this issue Jul 5, 2022 · 0 comments

Comments

@rinfante77
Copy link

To reproduce the problem:

  1. Add a oj-menu-button with a menu slot inside a div as following:
    <div id="mydiv" ... <oj-menu-button style='width:110px;height:100%;' class="oj-button-sm" display="icons" chroming="borderless" ... <oj-menu slot="menu"

  2. in javascript request full screen mode for the div mydiv:

document.getElementById("mydiv").requestFullscreen();

Issue: The menu is not shown in full screen mode.
Reason: The menu has to be created inside the containing div.

This same issue can be found using oj-messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant