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

Problem with hover on <a> ? #145

Closed
Gaetan-dc opened this issue Feb 4, 2016 · 3 comments
Closed

Problem with hover on <a> ? #145

Gaetan-dc opened this issue Feb 4, 2016 · 3 comments

Comments

@Gaetan-dc
Copy link

Hi,

I have a problem when using the toggle on an <a> element : the hover triggers when I come from below the element, but not from above or the sides.
You can see it here, try to hover "Products" in the top : http://wrap.dynamicweb-cms.com/home-2
Here is what the HTML looks like :

<li class="dropdown dw-navbar-button">
 <a href="/products-1" data-close-others="true" data-hover="dropdown" class="dropdown-toggle">Products<span></span></a>
    <ul class="M1 dropdown-menu">
      <li class="dropdown">
        <a href="/products-1/bikes">Bikes<span></span></a>
      </li>
      <!-- etc. -->
    </ul>
  </li>

If I replace <a> by <button>, I don't have any problem. I have updated to the latest version locally but no luck.

Any idea where this could come from ?

Thanks !

@rebdev
Copy link

rebdev commented Feb 4, 2016

Pssst: the link you give isn't working.

@Gaetan-dc
Copy link
Author

Hm, weird. I tried it in incognito mode and on my phone, and I don't have any problem accessing it.

@CWSpear
Copy link
Collaborator

CWSpear commented Feb 4, 2016

This is related to #8, #16 and #27. In short, this isn't supported, but it's not a bug either. There are some hacky workarounds, and it's on the roadmap for v3, which is indefinitely stalled (see other v3 tickets for more on that).

@CWSpear CWSpear closed this as completed Feb 4, 2016
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

3 participants