Reposition the modal on size changed.#72
Closed
jojosati wants to merge 7 commits intojschr:masterfrom
Closed
Conversation
height and maxHeight option can pass a callback function or string 'auto', for recalculating height/maxHeight of modal-body everytime window's size changed.
Modal with '.modal-reposition' class will listen to any input 'change' event to check modal-size changed and fire 'resize.modal'.
The "change" event may be triggered by input, select and textarea element within modal. Otherwise required writing a custom script to trigger when ajax loading complete or trigger every specific interval .
Author
|
testing page. |
…bootstrap-modal/master
Author
|
I've just add the "Fit, Flow & Reposition" demo using my wip branch at last section of page. |
|
+1 |
|
This looks great. I really like how it works. I would definitely make use of it. |
Owner
|
Sorry for the late response, this looks promising. I might be missing something but I don't see any code for the fit/flow options in the merge request. Do you need to resubmit the pull request with your latest changes? |
Author
|
pull request #87 |
Closed
Author
|
close this repo, see #88 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



I'm not sure whether I've missed some of your features.
Now I'm trying to do my own auto reposition, hope it may be useful.