Replies: 1 comment 2 replies
-
Hi @toraxmalu I've made a slightly different fix so that one can add a "dropdown-position" field set to "belowleft" to the custom menu item. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While playing with the menu-bar-plugin I noticed an annoying behavior: Pop-ups are cut-off, when the menu-bar-item is near the right window border. This can be e.g. with style "float: right;". See here Google-Groups.
While investigating I noticed the behavior of the RevealWidget. Maybe a solution / fix could be with the if-statement added to the default-section in the function RevealWidget.prototype.positionPopup in reveal.js:
The if-clause checks, weather the right frame is passing the display-area. In that case it replaces the left-value with a new value, that makes the pop-up right-aligned. Later in the code the widget checks, weather it is rendered in negative x-value and replacing the left with the 0, if that isn't allowed explicit (positionAllowNegative).
What are your ideas?
Cheers ToraxMalu
Beta Was this translation helpful? Give feedback.
All reactions