swipe-pages
swipe-pages copied to clipboard
Cannot read property 'style' of null
Getting the above error on line 95 of swipe-pages.html:
var isWebkit = document.body.style.webkitTransform !== undefined;
which is stopping the page from loading.
Which browser and version are you using / seeing this error in?
On Tue, Feb 10, 2015 at 3:30 PM, Francesca Bradley <[email protected]
wrote:
Getting the above error on line 95 of swipe-pages.html:
var isWebkit = document.body.style.webkitTransform !== undefined;
which is stopping the page from loading.
— Reply to this email directly or view it on GitHub https://github.com/TheSeamau5/swipe-pages/issues/9.
Cheers, Flying Horse Dancing
It would be helpful to know what browser you're using but in any case, I'll probably end up changing this bit of code. I hate hacks like these and chrome (for whom this hack is targeted towards) is apparently making great strides towards removing the need for stuff like the translateZ hack.
I'm using the latest version of chrome. I'm using it within a custom element. When using the version of swipe-pages on github rather than the one provided with the bower install the error occurs on line 83.
Any progress on this? I'd love to use this on my app but this error makes it unusable.
Currently using Chrome 42 in OS X.