Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: section.document.createRange is not a function #174

Open
Ruslan-BG opened this issue Jul 13, 2020 · 0 comments
Open

TypeError: section.document.createRange is not a function #174

Ruslan-BG opened this issue Jul 13, 2020 · 0 comments

Comments

@Ruslan-BG
Copy link

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 Ruslan-BG changed the title Search by keyword in book TypeError: section.document.createRange is not a function Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant