-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Option function for customizing modal dimensions #1831
Comments
@wbobeirne glad to hear you are loving Shepherd! Perhaps there is something I am missing here, but couldn't you just target the parent of your list of unknown size? Then you wouldn't need to know the size at all. |
@wbobeirne thanks for the explanation! I think it is reasonable to support what you are asking about. Would you be interested in opening a PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there, loving Sheperd.js so far. I've got an element I want to highlight that has an unusual height calculation due to being a list of unknown size. I'd love to be able to have my own custom function for determining modal size. Ideally it'd be called right after
openingProperties
is assigned and just let me modify the object directly, or return a new object. Something like:Just an example, not my exact use case.
The text was updated successfully, but these errors were encountered: