stephanrauh / ngx-extended-pdf-viewer

A full-blown PDF viewer for Angular 16, 17, and beyond
https://pdfviewer.net
Apache License 2.0
480 stars 182 forks source link

Search Icon is not shown on custom toolbar #2593

Open mapelpapel opened 2 weeks ago

mapelpapel commented 2 weeks ago

When using a custom toolbar, the viewer is not showing the Search-Icon (in my case). The demo for custom toolbar shows the icon for 1-2 seconds (standard layout and custom findbar...) or doesn't show it at all (custom color...). Sometimes there is a gap, sometimes not (also in my case)

image

Not a problem on the simple demo

stephanrauh commented 2 weeks ago

That's probably a side-effect of an improvement I implemented. If there's no text layer, I don't want to show the search icon because the find functionality relies on the text layer.

However, you wouldn't complain about the missing icon if it's broken. Even so, just to be sure: can you double-check that the text layer is there?

mapelpapel commented 3 days ago

Sorry for the long delay. I would say there is a text layer, since I can search for text: image

stephanrauh commented 3 days ago

Oh, indeed. How can I reproduce the bug? Can you send me a reproducer?