Avoid jump to top of page
Avoid jump to top of page


Not setting the `-is-locked` class to body will avoid the scroll to the top of the page when a remodal is opened.
The workaround `html, body { overflow: auto !important; margin: 0; }` has side effects causing lazy loading on some jQuery plugin not to work.
thiagocarlossilverio/Remodal,erhanaydin/Remodal,pottspotts/Remodal,output/Remodal,DavidBachmann/Remodal,dalpo/Remodal,sdlyhu/Remodal,landinezrichard/Remodal,ericjlubbers/Remodal,mkormendy/Remodal,kickback/Remodal,cmaddalozzo/Remodal,mkormendy/Remodal,aalexeev239/Remodal,getglossy/Remodal,team-eden/Remodal,DavidBachmann/Remodal,team-eden/Remodal,DWethmar/Remodal,emaiqi/Remodal,XEngine/Remodal,landinezrichard/Remodal,antstorm/Remodal,emaiqi/Remodal,goranefbl/Remodal,VodkaBears/Remodal,XEngine/Remodal,pottspotts/Remodal,VodkaBears/Remodal,kickback/Remodal,Jeremy017/Remodal,Jeremy017/Remodal,aalexeev239/Remodal,antstorm/Remodal,offenbad/Remodal,offenbad/Remodal,DWethmar/Remodal,goranefbl/Remodal,cmaddalozzo/Remodal,thiagocarlossilverio/Remodal,sdlyhu/Remodal,output/Remodal,dalpo/Remodal,ericjlubbers/Remodal,getglossy/Remodal,erhanaydin/Remodal