I add and remove to a modal and notice the position stays. Is it possible to run a command to recenter based on the height?
Use the observeChanges option and it will keep track for you.
$('.my-element').modal({observeChanges: true});
NOTE: In future, please use the forums for asking questions.
Most helpful comment
Use the observeChanges option and it will keep track for you.