question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sometimes modelIsVisible is wrong, causes autoRotate to break

See original GitHub issue

We have observed under some circumstances that modelIsVisible is incorrect, which in turn can cause autoRotate to break (because rotation does not occur until the model is visible as of #471 ).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
cdatacommented, Jul 31, 2019

Yes!

1reaction
pushmatrixcommented, Jul 3, 2019

I’ve seen behaviour where the model is not visible if the viewer was initially hidden and then made visible. This is a common design for online stores where you have one big product photo that you can switch by pressing thumbnails in a gallery.

However sometimes the model viewer shows blank when I change thumbnails (hide/unhide viewers).

gif

@cdata suggested this may be related to modelIsVisible.

Steps to reproduce:

Sometimes you can force refresh and click the second thumbnail during page load, and the viewer will show.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Surface goes into an endless "auto rotate" problem state when
When my Surface Book is on battery power and declines to around 56%, it starts beeping and flashing a message about Auto Rotate....
Read more >
Diff - 795195df20..9b98a25a5d - chromium/src - Git at Google
NOTE: Any reference to Java resources will cause a crash. ... VISIBLE); + assertThat(model.isVisible(), is(false)); + } + + @Test + @SmallTest + ......
Read more >
@google/model-viewer: Versions | Openbase
We have been carefully following semantic versioning rules to avoid breaking changes for our diverse user base, but this has caused parts of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found