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

Cannot read property 'style' of null #9

Open
ghost opened this issue Feb 10, 2015 · 4 comments
Open

Cannot read property 'style' of null #9

ghost opened this issue Feb 10, 2015 · 4 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Feb 10, 2015

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.

@giantelk
Copy link

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
#9.

Cheers,
Flying Horse Dancing

@TheSeamau5 TheSeamau5 self-assigned this Feb 11, 2015
@TheSeamau5
Copy link
Owner

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.

@TheSeamau5 TheSeamau5 modified the milestones: Alpha, v0.3 Feb 11, 2015
@ghost
Copy link
Author

ghost commented Feb 11, 2015

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.

@MrRod
Copy link

MrRod commented May 15, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants