In my application, I am utilizing a bootstrap modal feature that contains lengthy content. Interestingly, I have encountered an issue with two different modals on separate pages. While viewing the modals on mobile devices, I noticed that one of them can be scrolled smoothly, whereas the other modal does not allow scrolling. Oddly enough, when attempting to scroll the second modal, it seems like the background is scrolling instead. It almost appears as if the second modal is not in focus, despite both modals having identical code structures:
<div class="modal fade" id="modalFeedback" data-keyboard="false" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered" role="document">
This unexpected behavior has left me puzzled, as I cannot pinpoint the reason behind it.