// Instead of <div id="scroll-header" style="position:fixed; top:52px"> // use this<div id="scroll-header" style={{position: "fixed", top: "52px"}}>