krescruz / krescruz/angular-materialize

data-closeonclick on the sidenav closes menu but leaves the backdrop angularJS

Open
#92 4 comments 1 reaction 0 assignees View on GitHub
bug need more info
Dominant language
HTML
Stars
387
Forks
126
PR merge metrics
No merged PRs in 30d

Description

I have an angular project where my navbar uses the sidenav plugin for mobile menu, but even though the closeonclick method is set to true, it does close the menu but it still leaves the backdrop on, of course you can click anywhere to dismiss it, however it still is not very UI quality.

Any ideas how to solve this? Below is the markup for my navbar.

```


```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the sidenav directive and the navbar markup shown in the issue, reproducing the case with data-closeonclick="true". Trace the close action and backdrop handling; done means closing the sidenav also removes its backdrop without requiring a separate click.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.