supermedium / aframe-react

:atom: Build virtual reality experiences with A-Frame and React.
https://ngokevin.github.io/aframe-react-boilerplate/
MIT License
1.42k stars 151 forks source link

Conditionally showing Embedded Scene resets scroll position #95

Open matthewsimo opened 7 years ago

matthewsimo commented 7 years ago

I'm having this issue where the page's scroll position is reset to zero when I need to conditionally add an embedded scene to my page. I threw together a pared down example based on the ngokevin/aframe-react-boilerplate to help me debug. (scroll down, click toggle, scroll position is reset )

Has anyone else run into this before?

Will follow up with what I find.

cwervo commented 7 years ago

Woah, this is a really strange bug - did you ever find a resolution or cause of this @matthewsimo?