VolodymyrBaydalka/docxjs

[BugReport]Can not show file preview correctly on mobile(simulation)

CoderMonkie opened this issue · 2 comments

Describe the bug
version: 0.3.0
using official demo
turn to dev mode by F12,and use mobile mode

Document

Expected behavior

Screenshots
image

Desktop (please complete the following information):

  • OS: Desktop(windows11)/mobile(android,iOS)
  • Browser chrome
  • Version 0.3.0

Additional context

Describe the bug version: 0.3.0 using official demo turn to dev mode by F12,and use mobile mode

Document

Expected behavior

Screenshots image

Desktop (please complete the following information):

  • OS: Desktop(windows11)/mobile(android,iOS)
  • Browser chrome
  • Version 0.3.0

Additional context

文档本身是A4纸或者A5纸大小,本身已经限定宽高了,怎么可能在手机端显示?
The document itself is A4 paper or A5 paper size, itself has been limited width and height, how can display on the phone?

@CoderMonkie .docx provides exact physical size of document. If you want to resize/scale document to fit mobile, it's out of scope of this library and it's task for your as developer to implement that in your application depends of your requirments.