Commit Graph

199 Commits

Author SHA1 Message Date
Max Lynch
2559acfb1b Fixed disabled mode 2014-03-03 11:11:12 -06:00
Max Lynch
74e8f18eec Increased threshold, fixed prevent default again 2014-03-03 11:03:14 -06:00
Max Lynch
00dbb3e2da Added requestAnimationFrame 2014-03-01 19:09:27 -06:00
Max Lynch
c53cd7f9d8 Added slight darkening during drag 2014-03-01 16:07:08 -06:00
Max Lynch
1974bb5342 Prevent parent scrolling 2014-03-01 16:00:08 -06:00
Max Lynch
9f15b9810f Fixed linter issues 2014-03-01 15:56:18 -06:00
Max Lynch
e538fa77c9 Draggable slider working 2014-03-01 15:52:47 -06:00
Adam Bradley
3e34a84abe Merge branch 'master' of https://github.com/driftyco/ionic
Conflicts:
	package.json
	release/js/ionic-angular.js
	release/js/ionic-angular.min.js
	release/js/ionic.bundle.js
	release/js/ionic.bundle.min.js
	release/version.json
2014-02-28 10:47:57 -06:00
Adam Bradley
2565000564 fix(list): Drag to expose list option buttons, closes #701 2014-02-28 10:42:08 -06:00
Tim Lancina
6754a83a6a fix headerBar title align 2014-02-27 16:32:08 -06:00
Andy Joslin
f6ec6a3c89 fix(slideBox): make does-continue attribute work continuously
Closes #575
2014-02-26 08:47:12 -05:00
Adam Bradley
a56bc9d8f3 sideMenu: only update zIndex (change the dom) when you need to 2014-02-23 00:07:50 -06:00
Adam Bradley
52671c18f9 fix(transform): Polyfill style.transform to work w/ non-webkit 2014-02-20 15:40:12 -06:00
Max Lynch
2e6f640b4a Added mousewheel support to scroll view 2014-02-19 16:30:39 -08:00
Andy Joslin
b137cb318c refactor(scrollView): remove test code 2014-02-18 10:09:45 -05:00
Andy Joslin
d056ad1fef perf(animations): throttle calls to requestAnimationFrame
Closes #582
2014-02-17 17:26:34 -05:00
Andy Joslin
bfefc69f3c feat(sideMenu): allow and watch attrs width & is-enabled 2014-02-17 13:03:17 -05:00
Andy Joslin
39ad3e0b26 fix(scrollView): allow contenteditable element to be pressed normally
Closes #421
2014-02-17 12:12:59 -05:00
Andy Joslin
a5d964734f fix(scrollView): fix error from checking device before ready 2014-02-17 11:57:20 -05:00
Christian Henke
7281e2abf0 fix(loading): make showDelay option work correctly
The 'showDelay' configuration option of $ionicLoading exists but
does not lead to any delay whatsoever.

This change implements that functionality.

Closes #562
2014-02-17 11:43:13 -05:00
Andy Joslin
749cd3829c fix(navBar): animations work properly
Starting a couple of versions ago, animations in navbar stopped working.
I took this as a chance to fix this, and ddo a refactor to make the code
more modular and testable.

Lots of manual dom manipulation was offloaded to angular directives, and
now we will not have bugs with end-user using interpolated class
attribute on their own nav-bar and overriding our own manually added
classes.
2014-02-17 09:11:52 -05:00
Andy Joslin
1aef593f07 fix(scrollView): do not stop scrolling if stopped beyond boundaries
Addresses #482
2014-02-13 10:10:53 -05:00
Andy Joslin
4cba7aa6a9 refactor(scrollView): use defaultPrevented 2014-02-12 13:02:26 -05:00
Andy Joslin
9327ac71c7 fix(android): when keyboard comes up, ensure input is in view
This requires us to set fullscreen="false" in our cordova apps.

Uses the resize event to determine when the keyboard has been shown,
then broadcasts an event from the activeElement: 'scrollChildIntoView',
which is caught by the nearest parent scrollView.  The scrollView will
then see if that element is within the new device's height (since the
keyboard resizes the screen), and if not scroll it into view.

Additionally, when the keyboard resizes the screen we add a
`.hide-footer` class to the body, which will hide tabbars and footer
bars while the keyboard is opened.

For now, this is android only.

Closes #314.
2014-02-12 09:45:35 -05:00
Andy Joslin
63b0a31970 refactor(scrollView): restart scroll if stopped, + or -
Addresses #482
2014-02-12 07:40:26 -05:00
Andy Joslin
eed6b19b51 fix(scrollView): start scroll again if it stops beyond boundaries
Addresses #482
2014-02-11 14:38:02 -05:00
Andy Joslin
fb5a0d4c81 fix(list): css: don't make last .list on page have margin-bottom
Addresses #425
2014-02-11 11:39:15 -05:00
Andy Joslin
4cc4a18c66 fix(scrollView): nested scrollViews now work independently
Closes #278
2014-02-10 09:53:40 -05:00
Andy Joslin
4c9a4c0c62 refactor(anchorScroll): only get element ids under scrollEl 2014-02-09 18:06:05 -05:00
Andy Joslin
7f4b28d9da feat(list): reordering scrolls page, reordering performance better
Fixes #521. Reordering now uses webkitTransform instead of
element.style.left.  Additionally, as you drag the drag-element to the
top or bottom of the scroll-area, it will scroll it up or down as
allowed.

Refactors necessary: Common code from `<content>` and `<scroll>` moved
into js/ext/angular/controllers/ionicScrollController.  Then `<content>`
and `<scroll>` expose the controller, and `<list>` can require it.

`<list>` then uses the controller (if exists) to pass the scrollView and
scrollEl to ReorderDrag, and ReorderDrag uses that to scroll.

Additionally, js/ext/angular/test/controller/ionicScrollController tests
much functionality that was untested before.
2014-02-06 15:04:23 -05:00
UniRing
bc927e57e7 feat(tabs): allow badges on tabbar via bound badge attr 2014-02-05 11:38:06 -05:00
Andy Joslin
59c10d4f92 fix(scrollView): if bouncing past boundaries, do not stick.
Closes #482

Zynga Scroller slowly lowers the acceleration of scroll as soon as you pass the
boundaries. Once the acceleration reaches zero, zynga will 'flip' the
acceleration in the other direction and scroll back to within the
boundaries (bounce effect).

The problem is, sometimes as it slowly lowers the
acceleration it will get *near zero*, but not reach zero.  When
acceleration gets close enough to zero, zynga stops the scrolling
because it deems it 'too slow'.

Now, the scrolling acceleration will 'flip' and go back towards being
in boundaries (bounce) when the scrolling is below a certain minimum,
not just when it is below zero.
2014-02-03 12:06:33 -05:00
Max Lynch
41fc43675c Better focus delay for modals 2014-01-30 13:50:34 -06:00
Max Lynch
790c97a428 Fixed #461 - PTR Android 2014-01-23 09:11:40 -06:00
Max Lynch
050870e5f4 Fixed #458 2014-01-22 23:12:50 -06:00
Adam Bradley
73cad15ed2 checkbox/radio/toggle updates 2014-01-21 16:51:25 -06:00
Max Lynch
577b52fa11 Real fix for #444 with passing test 2014-01-20 18:13:37 -06:00
Max Lynch
734d03d1b9 Fixed #444 - support for disabling toggles 2014-01-20 17:57:51 -06:00
Max Lynch
27311d5d18 Added support for offset start scroll view 2014-01-13 19:29:32 -06:00
Max Lynch
879f63f402 Fixed loading view width for #364 2014-01-07 13:53:01 -06:00
Max Lynch
e1ae338b51 Fixed #288, added carousel support to slide box
Also fixed evevt bubbling and incorrect iOS 7 detection in mobile safari
2013-12-18 12:21:52 -06:00
Max Lynch
45ef1a540a Minifaction 2013-12-16 22:36:22 -06:00
Max Lynch
b9ebcd86a4 Much better slide box 2013-12-15 21:14:35 -06:00
Max Lynch
8bd8193c89 Nicer paging scroll feel 2013-12-15 18:19:04 -06:00
Adam Bradley
2779609766 improve list animations, closes #105 2013-12-13 22:33:17 -06:00
Max Lynch
ecbafa4bb6 Fixed reordering for #319 2013-12-12 20:24:59 -06:00
Max Lynch
2285c24362 Fixed #264 and #286 - snapping scroll 2013-12-12 18:49:49 -06:00
Max Lynch
edeac3321a Bad console.log, Bad! 2013-12-12 14:38:19 -06:00
Max Lynch
37c6ac81ac Fixed #317 2013-12-12 14:26:12 -06:00
Max Lynch
7044398471 Scrollbars auto fade out - #317 2013-12-12 10:51:47 -06:00