mirror of
				https://github.com/KevinMidboe/vue-js-modal.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	added disable scroll class to html element
This commit is contained in:
		| @@ -460,10 +460,12 @@ export default { | ||||
|         } | ||||
|  | ||||
|         if (scrollable) { | ||||
|           document.getElementsByTagName('html')[0].classList.add('v--modal-block-scroll') | ||||
|           document.body.classList.add('v--modal-block-scroll') | ||||
|         } | ||||
|       } else { | ||||
|         if (scrollable) { | ||||
|           document.getElementsByTagName('html')[0].classList.remove('v--modal-block-scroll') | ||||
|           document.body.classList.remove('v--modal-block-scroll') | ||||
|         } | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user