Strange behavior while using Stencil

14 views
Skip to first unread message

Федор Усаков

unread,
Sep 14, 2015, 1:46:16 PM9/14/15
to Monocle
After adding Stencil component I noticed that pages are started to disappear from the book just after I clicked the link.
Every even page became blank.
Also I noticed that even without adding Stencil control I could click my links using Magic panel. 
Script behavior in this case is unpredictable - sometime I could see a linked page for a second and then another page (usually next one) appears.
So could anyone share their experience with Stencil and navigating links in Monocle?
Maybe some ideas on how-to debug this issue?
My environment is Windows 10 Mobile IE WebView running in simulator.


var readerOptions = {};
readerOptions
.panels = Monocle.Panels.Magic;
window
.reader = Monocle.Reader('rdr', bookData, readerOptions, function(rdr) {
var scrubber = new Monocle.Controls.Scrubber(rdr); rdr.addControl(scrubber, 'standard', { container: 'scrubber' });
var stencil = new Monocle.Controls.Stencil(rdr); rdr.addControl(stencil);
});

Reply all
Reply to author
Forward
0 new messages