Famous / famous-angular

Bring structure to your Famo.us apps with the power of AngularJS. Famo.us/Angular integrates seamlessly with existing Angular and Famo.us apps.
https://famo.us/angular
Mozilla Public License 2.0
1.92k stars 276 forks source link

Way to allow native scrolling for certain elements/areas? #339

Closed 5inline closed 9 years ago

5inline commented 9 years ago

Is there a way to disable the Famo.us override of all touch events for specific elements?

For example, I have an image displayed that is larger than the container element with an overflow:scroll parameter. I want to be able to pan the image within the container element, and using the native functionality would be much easier to rolling my own event handler.

jd-carroll commented 9 years ago

No there is not, but it should be pretty easy to add only a single element to a Scrollview.

5inline commented 9 years ago

That would only scroll in one direction, correct?

I'm browsing the source code, and don't see an obvious way to allow scrolling in both horizontal and vertical.

jd-carroll commented 9 years ago

The current scroll-view will only move in one direction at a time, correct.