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

Make this server side compatible #1

Closed
bkniffler opened this issue Feb 16, 2016 · 2 comments
Closed

Make this server side compatible #1

bkniffler opened this issue Feb 16, 2016 · 2 comments

Comments

@bkniffler
Copy link

This line makes oui-dom-utils throw an error on server side (and all libraries that rely on it like https://github.com/recharts/recharts/)

const requestAnimationFrame = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame;

Could you wrap it somewhere? It is only used in scrollTo anyways.

@camsong
Copy link
Member

camsong commented Feb 17, 2016

Should be fixed with the release of v0.3.6

@camsong camsong closed this as completed Feb 17, 2016
@bkniffler
Copy link
Author

Excellent, thanks!

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

2 participants