Samirla / xmlview

Powerful XML viewer for Google Chrome and Safari
MIT License
329 stars 75 forks source link

Fix Issue #68 - Scroll not working #69

Open kavishdahekar opened 5 years ago

kavishdahekar commented 5 years ago

68 Weird scroll problem in chrome, weirder fix.

Only way to fix the scroll issue is to allow overflow on body. To keep the overflow at its minimum, I've set the source pane's height to inner height - 37 (37px is the fixed height of the search bar). Then added 1 px to trigger the overflow. This allows scrolling the source pane in case the xml is too long.

tsimmons commented 5 years ago

Great fix! Works for me.