You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't manage to set up a test case with jsfiddle but I manage to solve my issue by initialising the modal html structure with a placeholder bigger than the mobile screen height which seems to initialise properly the scroll bar and the correct focus on the modal when it will appear. So when showing the modal I call my ajax function as before but it replaces the placeholder content with the dynamic one.
I would prefer to find a more elegant way to solve this but it works.
Steps
When scrollable modal is shown in vertical or horizontal device orientation the scrolling doesn't work at all.
Expected Result
Scrolling working when modal shown
Actual Result
Scrolling not working when the modal show up BUT works after device orientation change back and forth
Version
2.6.4
Testcase
$("mymodal").modal({
closable: true,
centered: false,
inverted: true,
onVisible: function () {
ajaxFunction("3", "01/01/2108");
$("mymodal").modal("refresh");
}
}).modal('setting', 'transition', 'scale')
.modal('show');
The text was updated successfully, but these errors were encountered: