Pdf.js: PDFSidebarResizer: The browser does not support resizing of the sidebar.

Created on 13 Nov 2018  路  5Comments  路  Source: mozilla/pdf.js

Attach (recommended) or Link to PDF file here:

Configuration:

  • Web browser and its version: IE11 browser version 11.1387.15063.0
  • Operating system and its version: windows 10
  • PDF.js version: v2.1.0
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Open it in IE it will display "PDF.js v2.1.0 (build: ?)
    Message: Map is not defined" and in console it will have message as "PDFSidebarResizer: The browser does not support resizing of the sidebar." However, same is working on Chrome, firefox, ipad.

What is the expected behavior? (add screenshot)
pdfjs

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

All 5 comments

Sidebar resizing is purposely not supported in browsers, such as IE11, that do not implement CSS variables; hence this issue is invalid.

Can I use pdf.js for IE11, without Sidebar resizing functionality ?

Yes, IE11 should be mostly supported according to https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#which-browsers-are-supported. Only sidebar resizing will not work.

Thanks Jonas Jenwald & Tim van der meij : I am able to view pdf using viewer.html in IE11 browser.
As mentioned in browser support, IE10 browser is not supported however most features were supported in IE10 as per https://github.com/mozilla/pdf.js/wiki/Required-Browser-Features,
Can you suggest, is there a way to use IE10 with minimal features of Pdfjs ?

I don't think PDF.js 2.0 or higher will work well in IE10, but you can try. If IE10 support is really necessary, you can fall back to using PDF.js 1.10.100 (https://github.com/mozilla/pdf.js/releases/tag/v1.10.100), the final version 1 release. However, we don't recommend that and recommend to always use the latest version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexP3 picture AlexP3  路  3Comments

aaronshaf picture aaronshaf  路  3Comments

liuzhen2008 picture liuzhen2008  路  4Comments

dmisdm picture dmisdm  路  3Comments

PeterNerlich picture PeterNerlich  路  3Comments