Vuetify: [Bug Report] $vuetify.goto - DOMElement as scrolling target throws error in IE11

Created on 8 Jun 2018  路  8Comments  路  Source: vuetifyjs/vuetify

Versions and Environment

Vuetify: 1.0.19
Vue: 2.5.2
Browsers: Chrome 66.0.3359.181
OS: Windows 10

Steps to reproduce

  • Open the IE11 browser and try to select DOMElement as scrolling target
  • Click "Scroll"
  • Open the console and see the error - "[Vuetify] Target must be a Selector/Number/DOMElement/VueComponent, received instead."

Expected Behavior

Scrolling to target

Actual Behavior

Scrolling is broken

Reproduction Link

https://codepen.io/peacefulseeker/pen/gKGqGZ?editors=1011

bug platform specific

All 8 comments

Missing reproduction

@jacekkarczmarczyk, ou, I thought copied correctly.
There is an example from an official Vuetify page.
I have amended my issue description.

The error message has to do something with the method of importing Vue in codepen, it doesn't appear when running dev server

@jacekkarczmarczyk I indeed had an issue running locally as well. Otherwise, I would not post it here. Codepen link was just a reproduction after I have noticed it.
So what would be a solution to a problem? =)

Update to 1.1 (or maybe this PR could go to 1.0, but i'm not sure if we're going to release more 1.0 patches)

Or calcutate the offset by yourself and use it as a target

Was this page helpful?
0 / 5 - 0 ratings