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

Maximum call stack size exceeded #132

Open
mbakin opened this issue Aug 11, 2022 · 0 comments
Open

Maximum call stack size exceeded #132

mbakin opened this issue Aug 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mbakin
Copy link

mbakin commented Aug 11, 2022

Please describe the bug you are seeing

If the searched result is too many in the Search Bar, when we click show more results while indexing it, the page crashes. For example, when a call is made on the page that contains only the letter "a", we get a maximum call stack size exceeded error. How to fix this error?

Error:
Ekran Resmi 2022-08-11 12 55 05

Console:
Ekran Resmi 2022-08-11 12 55 28

How can we best reproduce the bug?

No response

Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?

"@cmfcmf/docusaurus-search-local": "^0.11.0"

Which Node.js version are you using?

v16.16.0

Which theme are you using?

Yes, I am using @docusaurus/theme-classic

How does your plugin config look like?

`plugins: [
[
require.resolve("@cmfcmf/docusaurus-search-local"),
{
// Options here
indexDocs: true,
},
],
],

themes: [
[
"@easyops-cn/docusaurus-search-local",
{
hashed: true,
highlightSearchTermsOnTargetPage: true,
explicitSearchResultPath: true,
},
],
],`

Additional context

No response

@mbakin mbakin added the bug Something isn't working label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant