react-viewer
react-viewer copied to clipboard
viewer hides scrollbar when shows, but don't restore it after closing for body inline style
If your body tag is inline styled like <body style="overflow-x:hidden;overflow-y:scroll"> to always show the scrollbar, then react-viewer hides it but not restores it after close. This can be easily fixed by styling body using an external CSS rule instead of an inline style, but I think react-viewer is misbehaving here.