box / box/viewer.js

'pagefocus' event being called before 'ready'

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

Description

Hi,
I'm seeing the 'pagefocus' viewer event being fired before the 'ready' event. Also, if we give the viewer a start page when using `Crocodoc.createViewer()` e.g. page: 15, it will trigger a 'pagefocus' on 15 FIRST and then a 'pagefocus' on 1 AFTER.

This is playing havoc with analytics. Is this by design or a bug?

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.