Skip to content

[Bug] Sidebar toggle is not working when browser is resized to smaller screen.  #49

@qixuan0427

Description

@qixuan0427

Version

v2.0.1

Reproduction link

https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html

Operating System

window

Device

laptop

Browser & Version

chrome version 88.0.4324.104

Steps to reproduce

  1. Open paper dashboard 2 demo at https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html
  2. Resize the browser screen until it is narrow enough to collapse the side-bar.
  3. Now the sidebar button appears on the top left. However, the button does not re-open the side-bar when it is clicked.

What is expected?

The side-bar can be re-opened when the button is clicked

What is actually happening?

Nothing happens when the button is clicked.


Solution

Additional comments

Error message from console:

paper-dashboard.min.js?v=2.0.1:1 Uncaught ReferenceError: PerfectScrollbar is not defined
at paper-dashboard.min.js?v=2.0.1:1
at paper-dashboard.min.js?v=2.0.1:1

(unknown) Uncaught ReferenceError: u is not defined
at d (:1:693)
at :1:809
at :1:814

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions