Comments (5)
Up to the developer to implement it.
Listening to scroll can be costly…
from vh-check.
Couldn't this be attached to gesturechange
that should be more performant?
I feel this is still an issue that can be fixed
from vh-check.
@ChrisButterworth It seems that GestureEvent is non-standard.
It should be easy to attach yourself an event handler to recompute the custom property. You have a good example here
But right now it's kind of broken because any call to vh-check will result in adding another listener to the orientationchange
event
I'm still working on an update to handle that
from vh-check.
I've edited the distributable file to combat this and used touchmove
instead of gesturechange
so it works better; will submit a pull request later with the src edited to give the output.
from vh-check.
Submitted pull request #15
from vh-check.
Related Issues (20)
- Publish actual code to NPM HOT 4
- NPM – shouldn't have .vscode folder published on npm
- Doesn't apply to Chrome / Android HOT 2
- should allow another way of computing the size
- calling multiple times vhCheck() will bind multiple time the orientationchange event
- Not working on new chrome ios HOT 6
- Value changes on zoom HOT 5
- IE11 - Object doesn't support property or method 'assign' HOT 3
- TESTS – add for real browsers starting at IE11
- Issues with TypeScript HOT 5
- Help: How can I use it with sass or vue? HOT 2
- Docs: bind boolean value HOT 1
- Get if the bottom bar is opened or closed HOT 4
- updateOnTouch only works when i touch again HOT 1
- Doesn't seem to work on Iphone X HOT 5
- Does not work in iOS Chrome HOT 1
- isNeeded = false for iPhone/Safari when target=_blank HOT 2
- Bottom gap on mobile Firefox
- Does not work correctly in a PWA standalone web app HOT 2
- All iphone phones with full screen cannot use this set of plug-ins.
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 vh-check.