Skip to content

Conversation

@wnvko
Copy link
Contributor

@wnvko wnvko commented Oct 8, 2019

There were some places in touch.ts as well as in IgxNavDrawer where we were calling browser related things, like requestAnimationFrame. Now we are checking if there platform where build runs is browser platform. If not, e.g. server side rendering, we skip calling browsers' methods.

Closes #4426

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code
  • This PR includes API docs for newly added methods/properties
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes
  • This PR includes behavioral changes and the feature specification has been updated with them

@ViktorSlavov ViktorSlavov added 💥 status: in-test PRs currently being tested ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification 💥 status: in-test PRs currently being tested labels Oct 8, 2019
@wnvko wnvko requested a review from damyanpetev October 9, 2019 11:39
@zdrawku zdrawku merged commit 53603b6 into 8.1.x Oct 9, 2019
@zdrawku zdrawku deleted the mvenkov/update-nav-drawer-for-server-side-rendering-8.1.x branch October 9, 2019 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nav-drawer version: 8.1.x ✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants