thegeeklab / hugo-geekdoc

Hugo theme made for documentation

Home Page:https://geekdocs.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlexSearch does not work on Safari

KrisSimon opened this issue · comments

On Safari (Version 16.6 (18615.3.12.11.2)) the search result panel pops up, but i can not click an item. The click-event is lost somewhere. The page stays the same.

Thanks for your report. As I don't have access to Apple devices, it's hard for me to debug/reproduce it. In the past, I was able to use another WebKit Browser on Linux to reproduce issues related to Safari, but in that case it works on other WebKit browsers.

Can you check the browser console for issue? Is this issue also reproducible on https://geekdocs.de?

Hi, yap it is reproducible on geekdocks.
Here are two screenshots from my project showing the event.
Screenshot 2023-08-30 at 10 09 31
Screenshot 2023-08-30 at 10 10 57

I inspected the source and the problem is on Safari that the SearchBox .gdoc-search__list disappears on click, before the link has it's click event.

I got it!
It is a css issue, I fix it and do PR.

Closed by #696