can't get the iframe content to show with a scrollbar

Q&A about the latest versions
Post Reply
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

I have set the `scrolling=yes` attribute on my iframe but the page is still not showing a vertical scrollbar. It works on mobile but not on desktop. Are there any hidden CSS styles that would be setting the overflow to hidden perhaps?
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

The issue is nothing to do with Pano2VR ... it is the standard behaviour of scrolling pages on webkit browsers that hides the scrollbar until the user actually scrolls meaning there's no indication that the page should scroll. It's pretty naff.

this is a fix:

Code: Select all

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
Post Reply