Fix the automatic zoom on the mobile designer on an iPhone
Under ConsiderationThe likely cause is iPhone Safari zooming when a DecoNetwork text field gets focus. I traced the trigger to font-size: 14px on the Designer’s text fields and found the same rule on DecoNetwork’s own demo.
What I verified
- The live Designer has one viewport tag:
width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes. It starts at device width and allows pinch zoom. - I opened Add Text → Add DTG Printed Text → settings and tested Text Properties at 320, 375, 390 and 430 CSS pixels. At 1×,
#properties_panelmatched the viewport width at every size, with no horizontal overflow. Both colour swatches and Apply fit, and the colour picker opened at 390 px. - The Add Text dialog automatically focuses
textarea#new_text. The editable field in Text Properties istextarea.dn-d-mp-edit-text-area. Both compute to 14 px. DecoNetwork’s Designer stylesheet sets that size through.dn-designer textareaand.dn-popup.dn-designer-popup textarea. The same declarations on the official demo identify this as DecoNetwork-controlled styling. Live Digitees stylesheet · DecoNetwork demo Designer
WebKit uses 16 px as its reference size when calculating focus zoom. A 14 px field can produce about 1.14×zoom. At 390 px, that leaves roughly 341 CSS pixels visible if the view stays left-aligned. The two swatches start at x = 346 px, and the bottom of the panel can fall below the visible area too. That matches the missing swatches and Apply button in your first screenshot.
Safe fix
Ask DecoNetwork to set both mobile Designer fields to 16 px upstream. I
Please sign in to leave a comment.
Comments
0 comments