box / box/viewer.js

Presentation layout very slow on mobile

Open
#117 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm trying to use `Crocodoc.LAYOUT_PRESENTATION` with the [slide CSS transitions](https://github.com/box/viewer.js/blob/master/examples/presentations/slide.css) as is used in the [examples](https://github.com/box/viewer.js/blob/master/examples/presentations/index.html). The only thing different that I'm doing is to use hammer.js swipe events to call `scrollTo`.

It works fine in the desktop but when I run it on mobile (iPad 3 with Safari, Android KitKat with Chrome) the transitions run very slowly which makes a poor user experience. When I disable the CSS transitions, it improves, but it still slow.

Do you have any tips to enhance these transitions?

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.