I created a ReactJS app in IE-11. I want to scroll at a certain point programmatically. every things are Ok, but when scroll occurred, an unpleasant scrollbar appears in right-side and all my design become damage. how can I prevent this?
Before scroll:
After scroll:
my code to scroll:
const refFirstPoint = useRef(null);
refFirstPoint.current.scrollIntoView();
<div>
<span ref={refFirstPoint}>{timeAM_PM(i)}</span>
</div>