Daemonite / Daemonite/material

Drawer type doc error

Open
#207 0 comments 0 reactions 0 assignees View on GitHub
doc
Dominant language
CSS
Stars
3.2k
Forks
700
PR merge metrics
No merged PRs in 30d

Description

First of all, thank you for provide so nicely lib and so flexible. And sorry for my english

On the Drawer doc, if you use `data-type="persistent"` on the button, works fine, but when you open and close with javascript `$('#navdrawerDefault').navdrawer('show')`, this create overlay upside the menu and all page. Using `data-type="persistent"` on the div content, works like a charm

Url: https://daemonite.github.io/material/docs/4.1/material/navigation-drawer/#persistent-drawer
Actual code:

```
Launch persistent drawer


```

Working code:

```
Launch persistent drawer


```

I don't make the change and commit for revision, because I don't know if this is a error of code or error of documentation

Using button on header for open
![image](https://user-images.githubusercontent.com/2607849/49769433-415b6400-fcc7-11e8-9700-bb7d97834ca1.png)

Using javascript method
![image](https://user-images.githubusercontent.com/2607849/49769460-5cc66f00-fcc7-11e8-9e37-9c3cfed1b868.png)

With my suggestion
![image](https://user-images.githubusercontent.com/2607849/49769471-6d76e500-fcc7-11e8-9185-3f7dc2af2cd5.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.