Comments (2)
Example of scrolling #4 (comment)
from aframe-htmlembed-component.
I did think about including that but the problem is you can't render with a scroll offset to canvas, there is a hack but it will likely mess up some of the css. There is an additional problem in that the performance for scrolling will probably be really bad which is the same reason I backed off trying to get CSS animations and transitions working for the moment. However, I'll take a look to see if I can get something working in the medium term even if the performance is bad.
If it's urgent, you can achieve a scrolling effect by simply having a div with overflow hidden and simply set the margin of a containing div to a negative value to offset ie <div style="overflow:hidden"><div style="margin-top: -50px">content</div></div>
from aframe-htmlembed-component.
Related Issues (20)
- Null is not a valid URL - Check element hasAttribute href
- suggestion : allow the use of css selector
- component not working in Android
- Does setting a div visibility to hidden work?
- Dynamically add component HOT 1
- Transparency HOT 1
- position() and offset() of entities are always 0 HOT 1
- Border radius HOT 1
- Freezing browser during render HOT 7
- mousedown behaves strange on mobile
- Doesn't work with react
- Freezes the browser for a long time in local environment with Vue.js HOT 2
- Support for SVG HOT 1
- Not working with arjs inside a-marker HOT 3
- AFRAME 1.3.0 => OK ! HOT 1
- not consistent HOT 2
- Incompatible with A-Frame 1.3.0? HOT 4
- Problem with non-inline css. (Live example)
- Using 'fuse' cursor doesn't fire 'click' event.
- inputrequired event example needed
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 aframe-htmlembed-component.