This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
mdPanel: allow callback in offset functions #9608
Labels
Projects
Milestone
The
withOffsetX
andwithOffsetY
methods currently require the offset to be known ahead of time, however this doesn't work too well if the offset is based on the panel itself. This can be worked around by setting the offset in theopen
callback, however it can cause the panel to jump on slower browsers (IE and Edge). The methods should support passing in a function that allows for the offset to be determined dynamically. Example:Referencing #9564.
The text was updated successfully, but these errors were encountered: