Comments (9)
I can't seem to reproduce your issue. Tested on Chrome 53.0.2785.116 (64-bit) and Chrome Canary 55.0.2865.0 (64-bit), both are working without a hitch.
What do you mean by "not working"?
from paver.
I see what you're seeing on one computer, but on the one I happened to be on at the time I'm still seeing it not working. And by that, I mean I'm getting class="paver--fallback"
and not of the panning functionality.
from paver.
I'm sorry, but without any further information it is next to impossible to debug. How does the markup in the non-functional version look like? Is the markup being replaced, or is it not?
from paver.
The markup is being replaced, and is in the fallback state. I'll reinstall this Google Chrome, and try on other machine to attempt to replicate the failure. If I can, I'll refile the bug.
from paver.
Dell Inspiron 5558 (notebook, touch support with 10 touch points)
Windows 10 Home 64-bit
Google Chrome 53.0.2785.116 m
Mozilla Firefox 48.0.2
On this machine Firefox functions fully with Paver. On Google Chrome however, it enters fallback mode.
With setup and Google Chrome, document.createEvent('TouchEvent')
executes successfully. So global.features.isTouch = true
while global.features.hasGyroscope == false
. Resulting in a call to this.fallback()
.
Just to test out, forcing global.features.isTouch = false
seems to let things work as expected in Google Chrome, though that's obviously not a fix.
from paver.
That is quite peculiar. I am unable to reproduce your issue on Chrome, but that's on OS X. I'll see if I can grab a Windows machine to try it on.
from paver.
I'd like to highlight, just in case, that my particular machine is touchscreen laptop.
from paver.
If that's the case, sounds like something is off with the determination of the device supports touch events. I'll try to see if that's something that I can debug and fix. The code for determining if the device is "touch" or not is rather a misnomer itself, as it does the following:
- Checks if the device supplies gyroscopic data and,
- Checks if tilting is enabled in the initialisation settings
So it seems like the touchscreen laptop is satisfying both conditions, but for some reason does not supply the correct gyroscopic data. That should've been caught by a fail-safe check performed for point no. 1, but it seems to be failing in your case.
For now try manually forcing isTouch
, but I do acknowledge it's only a workaround and not a true fix.
from paver.
Let me know anything I can do to assist.
from paver.
Related Issues (20)
- Hi, I'm getting error in the line 554 HOT 2
- Click and drag? HOT 4
- Paver is not rendering on mobile and tablet HOT 1
- Paver is not centering on mobiles HOT 2
- Bower install HOT 1
- Paver in Slideshow freezes on mobile HOT 9
- re init paver on click?
- Ignore/disable device orientation (on android) with a config and use wipes/touch? HOT 4
- IE11 and Edge support HOT 5
- npm install not working
- Mobile rotate and touch navigation HOT 1
- Paver for vertical sccrolling?
- Is a smooth scroll possible for initial mouse entry? HOT 1
- start position 0 is not working on android HOT 1
- destroy paver on a specific point HOT 1
- New release HOT 3
- Version 1.3.4 not available on NPM
- Paver--off not showing an image
- Is there a way to add hotspots?
- Panorama on mobile is aligned left even with startPosition: 0.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paver.