joehewitt / scrollability

Imitates iOS native scrolling in JavaScript.
http://joehewitt.github.com/scrollability
Other
1.78k stars 147 forks source link

Make scrollability works in none-mobile browsers, so we can debug it easier #7

Closed Tin closed 12 years ago

Tin commented 13 years ago

Adapted the touch events by mouse click events, so we can simulate touch events in desktop browsers. Support desktop scrolling so we can use superior desktop debugging tools (Joe added this comment).

mgcrea commented 13 years ago

Need this badly, please !

zanona commented 13 years ago

+1

ghost commented 12 years ago

Sounds a good idea, but is this good ? I tried to do it, but it looks weird on desktop browsers. I had to use event.preventDefault() with onTouchStart for example otherwise I was starting a text selection instead. Without talking about desktop, there is also an issue like the #20 about how to manage event handlers.

The library was designed for mobile web, it's good for me. My question is more like " I am using scrollability in mobile web browsers, and I would like to bring an alternative user experience to desktop browsers too".

Is anybody thinking the same ?

zanona commented 12 years ago

yes definitely :)

Tin commented 12 years ago

@getphuture I don't think we should use scrollability.js in browser. But we need to do the development in desktop browser, if we can test our own event handlers working with scrollability.js, it will boost the development process.

Our mobile web development is mostly finished in desktop browsers.

joehewitt commented 12 years ago

Fixed.