TypeError: section.document.createRange is not a function
Opened this issue · 0 comments
Ruslan-BG commented
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
TypeError: section.document.createRange is not a function