-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
Describe the Bug
On iOS, the PWA view keeps zooming in when editing pages and tapping on the text areas. This seems to originate from that by default, iOS zooms on the text field when pixel size is less than 16px.
This results in situation where:
- Save button gets hidden from the view
- Toolbar is shown only partially
- Left side tools get hidden
- Requires manual zooming out to find the tools and save button again
While searching for the issue, this seems to be a relatively common issue with any PWA apps. There seems to be multiple ways to solve this, but not all downsides were immediate for me. Same behavior is reproduced on every text field including but not limited to:
- Login screen
- Search box
- Shelf/book description and detail fields
Some solutions included:
- Detect iOS user agent and
- use 16px as minimum font size in the editor view
- OR
- Set certain viewport meta tags such as
user-editable=0andmaximum-scale=1to prevent the browser from zooming in when using it as a PWA app
Steps to Reproduce
iPhone Air
iOS 26.1
- Pin Bookstack as an app from mobile browser
- Open PWA
- Navigate to any page
- Enter editing mode
- Tap the text view
Expected Behaviour
The editor view stays at full width without zooming in to the text field.
Screenshots or Additional Context
Tested also the beta preview of the editor, and same behavior seemed to occur.
Browser Details
Firefox/Safari on iOS + pin app as PWA
Exact BookStack Version
v25.11