sphinx-immaterial icon indicating copy to clipboard operation
sphinx-immaterial copied to clipboard

Searching for the same Python object/anchor does not reload page but just gets stuck on the search preview

Open jgarte opened this issue 3 years ago • 4 comments

This is related to #198.

@jbms Thanks for the fix!

There is one edge case which is when you jump to the Python object and then try to search for the exact same Python object again, the search gets stuck and doesn't allow you to click.

I can imagine it working this way or reloading the same page with the same anchor.

What do you think?

jgarte avatar Jan 04 '23 21:01 jgarte

I filed an upstream issue in mkdocs-material for this: https://github.com/squidfunk/mkdocs-material/issues/4829

jbms avatar Jan 05 '23 04:01 jbms

This is now fixed in upstream, we just need to pull in those changes.

jbms avatar Jan 09 '23 21:01 jbms

I looked at that recently. Looks like upstream had a major version bump since our last update...

2bndy5 avatar Jan 09 '23 21:01 2bndy5

I looked at that recently. Looks like upstream had a major version bump since our last update...

Yes, definitely non-trivial this time around. I created https://github.com/jbms/sphinx-immaterial/issues/203 to track.

jbms avatar Jan 09 '23 21:01 jbms

This is now fixed as of v0.13.

jbms avatar Mar 19 '25 04:03 jbms