BalloonPanelView's limiter option should be configurable #5322
Labels
package:ui
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
Milestone
ATM the limiter is hard coded by the Link Plugin to the editable element the selection is anchored to. Depending on the integration, some editors may be restricted by parents with
overflow:scroll
and then such limiter makes little sense asgetOptimalPosition()
works onDOMRects
, which are the same regardless of the element being cropped by the parent.Proposed config names:
ui.floatingElementsLimiter
,ui.balloonPanel.limiter
.Additionally
getOptimalPosition()
could check all the ancestors of the limiter which haveoverflow
different thanvisible
and intersect all their rects one by one up towindow
to find the real visible area which is available to position theBalloonPanel
. That would, in most cases, make the limiter configuration obsolete.The text was updated successfully, but these errors were encountered: