Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera-change and interact-stopped events do not fire #104

Open
naychrist opened this issue Feb 8, 2024 · 0 comments
Open

camera-change and interact-stopped events do not fire #104

naychrist opened this issue Feb 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@naychrist
Copy link

Describe the bug
camera-change and interact-stopped events do not fire when changing camera via touch or code. there are sometimes a few camera-change events on load but that is it.

To reproduce

  let mv = document.querySelector('model-viewer');
  mv.addEventListener('camera-change', function(event) {  
    console.log('camera-change');
  });
  mv.addEventListener('interact-stopped', function(event) {
    console.log('interact-stopped');
  });

Expected behavior
I expect these logs to fire so that I can use JS to change the HTML

Desktop (please complete the following information):

  • OS: MacOS Ventura 13.3.1
  • Browser Chrome
  • Version 121.0.6167.139 (Official Build) (arm64)

Additional context
Flutter 3.13.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision efbf63d9c6 (6 months ago) • 2023-08-15 21:05:06 -0500
Engine • revision 1ac611c64e
Tools • Dart 3.1.0 • DevTools 2.25.0

model_viewer_plus: ^1.7.0

@naychrist naychrist added the bug Something isn't working label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant