epubjs-rn icon indicating copy to clipboard operation
epubjs-rn copied to clipboard

TypeError: section.document.createRange is not a function

Open Ruslan-BG opened this issue 5 years ago • 0 comments

react-native: "0.61.5"

function doSearch(q) { return Promise.all( book.spine.spineItems.map(item => item.load(book.load.bind(book)).then(item.find.bind(item, q)).finally(item.unload.bind(item))) ).then(results => Promise.resolve([].concat.apply([], results))); };

does not work in react native Simulator Screen Shot - iPhone 11 - 2020-07-13 at 13 02 50 TypeError: section.document.createRange is not a function

Ruslan-BG avatar Jul 13 '20 07:07 Ruslan-BG