question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[vue-scrollto warn]: Trying to scroll to an element that is not on the page

See original GitHub issue

When using the module I get a warning (and no scrolling): [vue-scrollto warn]: Trying to scroll to an element that is not on the page: #e6e3ac7024ecfa178be642e249b42527

The id is present on the page (generated in the template in a child component from the component where the scrollto is called from).

This is the code used to call the scrollto: VueScrollTo.scrollTo('#' + this.exercise.id, 200, { container: 'body' });

What could be the problem?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
laks90Jscommented, Feb 18, 2019

Prepending ‘ex-’ to Ids makes it to work. Looks weird with Id name.

1reaction
blakejacommented, Nov 16, 2018

@rigor789 Yes, a quick bit of googling confirmed this. I’m still seeing some weirdness with this, even when prepending with letters. If I can’t get past it, I will open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue.js - Scroll to element not working on - Stack Overflow
I have the following v-for and when i add a new comment I want to scroll to that comment but ...
Read more >
Examples - vue-scrollto
Adds a directive that listens for click events and scrolls to elements.
Read more >
Vue.js directive that can scroll to elements on the page.
vue-scrollto. A Vue.js directive that can scroll to elements on the page. Since v2.1.0 it doesn't require jQuery anymore, instead it uses window....
Read more >
Vue.js Scroll to element in div using vue-scrollto - Morioh
In this article, I want to share with you scroll to a specific reference id or element using vue-scrollto component in vue.js. I...
Read more >
Scroll down in vue in specific element - Laracasts
I am trying to scroll down on new appeared element in vue: I have chat ... I am not sure how to scroll...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found