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

Prefetch option : mouseover event not bubbling #354

Open
armellarcier opened this issue Jan 19, 2018 · 0 comments
Open

Prefetch option : mouseover event not bubbling #354

armellarcier opened this issue Jan 19, 2018 · 0 comments

Comments

@armellarcier
Copy link

I have an event listener on .nav li:

$(".nav li a").bind("mouseover", event => {
  console.log(event); // logs the event
});

When I use smoothState with this config :

{
  prefetch: true,
  anchors: ".li li a"
}

No more mouseover handler are called. The event is not bubbling from the a to the parent li when prefetch is set to true.

armellarcier added a commit to armellarcier/smoothState.js that referenced this issue Jan 19, 2018
armellarcier added a commit to armellarcier/smoothState.js that referenced this issue Jan 19, 2018
armellarcier added a commit to armellarcier/smoothState.js that referenced this issue Jan 19, 2018
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

1 participant