An Idea - what if we register all popups gobally? #5994
BurningTreeC
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Not really 100% related. ... But the widget doesn't work for my setting at all. See: #5996 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
this is just an idea for discussion and it's about popups and the
<$action-popup>
widget not knowing about the correct position$tw.popup.registeredPopups
with the{title: title, domNode: this.domNode, widget: this, wiki: this.wiki ... }
options<$action-popup>
widget in theinvokeAction
method we could first see if the popup with the given title is registered globally and if it is we trigger the popup in$tw.popup.triggerRegisteredPopup
which has access to the domNode and its position and to the button widget that corresponds to it<$action-popup>
widget can trigger popups at the correct positionsBeta Was this translation helpful? Give feedback.
All reactions