Open drzel opened 8 years ago
@drzel , hi do u done this problem? I got this too, touch is not ok, can not close modal , but after page refurbish,all works.
I'm having the same issue. If I click a link and go to a page and then hit the back button. The modal pops back up and I'm unable to scroll the modal. Seems to be fine in Chrome, experiencing the issue in Safari.
Having same problem. The reason is the html
tag contains remodal-is-locked
class, that prevents page scroll. Resolved it by removing remodal-is-locked
class on pjax requests or browser history jumping.
In my case, I'm using Turbolinks gem for pjax-like logic. Code for turbolinks, resolving this problem (coffeescript):
$(document).on 'turbolinks:load', ->
$('html').removeClass('remodal-is-locked')
Following a link inside a modal works, but the target page can't be scrolled without first pressing esc.