Crazy zooming on mobile

When I’m on mobile, when I select the “Open Page” button it zooms in crazy far and I have to zoom out, but then that loses focus of the “Open Page” dialog then I reselect “Open Page” and it zooms back in. Super frustrating.

I’ve been using Silverbullet for a while now, and up until recently this has worked without issues. I believe it started with an update, but I have no idea which update that would have been. It also works just fine on the silverbullet.md site so I know it’s something with my installation, but I have no idea where to begin looking.

This is all i have in my custom settings

indexPage: index
hideSyncButton: true

Doing a little more troubleshooting on this, this problem is actually caused by my reverse proxy. When it’s run through Traefik, it seems to be losing mobile detection.

Just dropping this here in case someone else runs into a similar issue in the future.

1 Like

Hey, did you ever figure out how to make this work through Traefik? I’m having the same problem.

This looks like where mobile detection is happening, although I’m not sure how this would change through a proxy: silverbullet/web/reducer.ts at 418138f9c9e752cd7aaf74d2f786350ee24e9a0c · silverbulletmd/silverbullet · GitHub

fwiw installing the PWA on my Android phone using Firefox instead of Chrome is able to detect mobile :man_shrugging: It also works in-browser for Chrome, but not in the PWA.