Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar: navigation between items with data-role="dropdown" #142

Closed
vorotech opened this issue Feb 12, 2013 · 0 comments
Closed

Sidebar: navigation between items with data-role="dropdown" #142

vorotech opened this issue Feb 12, 2013 · 0 comments

Comments

@vorotech
Copy link

Hi Sergey,

I have a question regarding Sidebar behavior. I am not quite sure I understand how it should work.

Let's say I have a code example:

<div class="page-sidebar">
    <ul>
        <li data-role="dropdown">
            <a>Item 1</a>
            <ul class="sub-menu sidebar-dropdown-menu light">
                <li><a>Subitem 1</a></li>
                <li><a>Subitem 2</a></li>
            </ul>
        </li>
        <li data-role="dropdown">
            <a>Item 2</a>
            <ul class="sub-menu sidebar-dropdown-menu light">
                <li><a>Subitem 1</a></li>
                <li><a>Subitem 2</a></li>
            </ul>
        </li>
    </ul>
</div>

How it should work if I first click 'Item 1' and then 'Item2'. Should the sub-menu dropdown remains open for 'Item 1' or becomes closed?

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants