scroll-into-view-if-needed icon indicating copy to clipboard operation
scroll-into-view-if-needed copied to clipboard

Body behind the modal scrolls

Open Deepak2322 opened this issue 5 years ago • 1 comments

I have modal inside which I have a list of passengers who have scroll into view when clicked on a particular passenger. This works perfectly fine, but the body behind the modal also scrolls when this happens even thous I have frozen scroll using "overflow: hidden" CSS property. How to avoid body scroll.

Deepak2322 avatar May 02 '19 13:05 Deepak2322

@Deepak2322 I'm not sure whether it's still relevant, but adding overflow: hidden to html tag works for me

spasea avatar Jul 16 '23 13:07 spasea