xeolabs / xeogl

A WebGL-based 3D engine for technical visualization. Not actively maintained.
http://xeogl.org
Other
1.15k stars 264 forks source link

input div not move with canvas when running on single page webapp like angular #144

Closed emiyalee1005 closed 7 years ago

emiyalee1005 commented 7 years ago
Description of the problem

...

xeogl version
Browser
OS
Hardware Requirements
xeolabs commented 7 years ago

Hi, can you confirm that this example shows the problem for you: http://xeogl.org/examples/#canvas_movingInPage

Note the instructions at the top left of the example window, cheers

emiyalee1005 commented 7 years ago

no,the example works fine. but angular/ionic based webapp don't use iframe to manage its sub pages.

emiyalee1005 commented 7 years ago

i upload the ionic2 demo which will show you the problem https://github.com/ionic2-ninja/emiya-angular2-bimsurfer

make sure you install ionic runtime (npm install -g ionic)

emiyalee1005 commented 7 years ago

https://github.com/xeolabs/xeogl/pull/145 i fix this problem