Comments (5)
Cool, just tagged this as 1.0.4. Thanks all
from vue-in-viewport-mixin.
@OmgImAlexis @weotch
FYI, I just applied #13 locally (thanks @hjrt!) - this fixed the issue for me.
from vue-in-viewport-mixin.
It should be: https://github.com/BKWLD/vue-in-viewport-mixin/blob/master/index.coffee#L53.
from vue-in-viewport-mixin.
If I check inViewport.now
it's false until I scroll so maybe the scrollMonitor isn't seeing it as in view until after the scroll starts?
from vue-in-viewport-mixin.
I even tried using this and after the recalculation it was still showing as false
.
this.scrollMonitor.recalculateLocation();
this.updateInViewport();
from vue-in-viewport-mixin.
Related Issues (20)
- Error in IE11? HOT 1
- It doesn't work for horizontal scroll div HOT 1
- Binding to a different container HOT 6
- 2.x: Issue with elements that are taller than viewport and fully in viewport detection in IE11 HOT 1
- Issues detecting above, below, and fully when scrolling fast past a 100vh item
- 2.0.0 - images never loading HOT 2
- Refactor so that multiple calls to getBoundingClientRect() don't get made HOT 1
- display: none causing errors HOT 6
- IntersectionObserver constructor error while using globally HOT 1
- Add hooks for activated / deactivated HOT 2
- IntersectionObserver constructor error: Infinity in threshold array HOT 3
- Make the `once` property un-listen if initially visible HOT 1
- Refactor to pass in configuration via a factory function
- See about fixing off by one issue in scrollMonitor HOT 1
- Moving the element in the dom without scrolling does not recheck if the element is in the viewport HOT 9
- Vue 3 compatibility HOT 3
- npm module does not include compiled files HOT 3
- Binding to child elements of the component HOT 2
- In viewport element of the component HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-in-viewport-mixin.