Skip to content

Conversation

hairylime
Copy link

…on watch and mount hooks

Tried to use the update of offset (on a screen resize event) and got a series of errors from the module:

  • missing updateWatcher method on $scrollMonitor
  • in vue, you can't use arrow functions on watchers if you need 'this' to resolve to the component
  • beforeMount nextTick doesn't seem to work (_container never initialized), changed to mounted on ScrollContainer (since that is effectively 'mount started') and mounted/nextTick on ScrollItem ('mount finished')

Brandon Alessi and others added 3 commits December 19, 2018 11:49
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

Successfully merging this pull request may close these issues.

1 participant