Comments (3)
Probably duplicate of #20
from vue-in-viewport-mixin.
If I do something like this in the coffee script I don't get the error anymore.
But I can't tell if I'm simply adding a workaround to a more serious root problem.
maxThreshold = Math.min 1, root.height / target.height
if not isFinite maxThreshold
maxThreshold = 1
@inViewport.maxThreshold = maxThreshold
At first sight my app seem to behave normally now (that error had an odd side effect because inViewport values were incorrect).
from vue-in-viewport-mixin.
Closed by #20
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
- Before scroll element not detected in viewport HOT 5
- 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
- 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.