Commit Graph

295 Commits

Author SHA1 Message Date
Andrew
1c789f8a88 fix(scrollView): always stay exactly within boundaries after bounce
Closes #1736
2014-07-07 12:18:20 -06:00
Andrew
ba1859b308 fix(ionReorderButton): stop ngRepeat:dupes error when reordering
Closes #1601.

BREAKING CHANGE: Reordering with ion-reorder-button no longer changes the order of the items in the DOM.

This change will only break your list if you were not using the
onReorder callback as described in the documentation.

Before, while reordering an element in a list Ionic would swap the
elements underneath as the reordering happened.  This sometimes caused
errors with angular's ngRepeat directive.

Now, reordering an element in a list does not change the order of
elements in the DOM.  It is expected that the end developer will use the
index changes given in the `onReorder` callback to reorder the items
in the list. This is simple to do, see the [examples in the
ionReorderButton
documentation](http://ionicframework.com/docs/api/directive/ionReorderButton/).
2014-07-06 13:39:56 -06:00
Sergii Iushchuk
0dad2ed6e8 fix(sliderView): "getBoundClientRect" typo 2014-07-04 19:56:28 -06:00
Andrew
86ce480696 fix(sliderView): find width properly when element is transformed
Fixes #1313
2014-06-24 09:39:03 +09:00
Adam Bradley
96b2243f15 fix(scroll): safari scroll content height
Safari and Chrome have two different opinions of what `scrollHeight`
means. It appears Safari is not taking into account that the parent
element can have padding applied which changes the scrollHeight. Closes
#1411
2014-06-17 10:52:52 -05:00
Adam Bradley
be351ce1fa fix(headerBarView): check for null in getTextBounds
In Android <= 4.3, getBoundingClientRect does not return a rect for a
text node, closes #1377.
2014-06-16 09:09:03 -05:00
Andrew Joslin
e4ab045e30 feat($ionicSlideBoxDelegate): add start() to resume after stop
Closes #1584
2014-06-12 09:02:35 -06:00
Adam Bradley
86e1fe9a54 fix(scroll): input text selecting w/ mouse events
Do not preventDefault() within scrollView, mousedown when the target is
a text input. Closes #1475
2014-06-11 13:50:40 -05:00
Perry Govier
d779346393 fix(listView): avoiding potential memory leak from assigning properties directly to an element 2014-06-06 15:26:58 -05:00
Perry Govier
afdf0ad764 fix(listView): position dragged list item properly when list view's parent is offset. Closes #1583 2014-06-06 15:14:52 -05:00
Andrew Joslin
b7646a5630 fix($ionicActionSheet): stop memory leak due to hidden element staying in dom
BREAKING CHANGE: $ionicActionSheet now returns a method to hide the
action sheet.

Previously, it returned an object that had a `show` and `hide` method.
This was undocumented, but if you used it, here is how to migrate your
code:

Change your code from this:

```js
var sheet = $ionicActionSheet.show({...});
sheet.hide();
```

To this:

```js
var hideSheet = $ionicActionSheet.show({...});
hideSheet();
```
2014-06-06 13:45:38 -04:00
Jared Smith
e88659c6f8 fix(ionScroll): let zoom work on android devices
Closes #1440
2014-06-04 13:56:26 -06:00
Andrew Joslin
9ffca1e4eb feat($ionicModal): add hardwareBackButtonClose as option, default true
Closes #1397
2014-06-04 13:45:21 -06:00
Max Lynch
9c77089a5e feat(scrollView): better deceleration for scroll view on iOS 2014-05-22 17:53:41 -05:00
Tim Lancina
88e41e1aa5 fix(scrollView): fix clonedInputs not being removed for large textareas
on keyboardshow

Closes #1420.
2014-05-20 13:04:32 -05:00
Andrew Joslin
3250d10da7 fix(scrollView): on desktop, mousewheel only scrolls the right scrollView
Closes #1376
2014-05-19 08:32:14 -06:00
Andrew Joslin
4a210130b4 fix(scrollView): stop memory-leak when destroying scrollView
Fixes #1096
2014-05-19 08:14:52 -06:00
Andrew Joslin
ec5a276337 fix(ionSlideBox): fix regression allowing slide past boundaries
Closes #1414, #1405, #1409, #1321.
2014-05-19 06:33:45 -06:00
Andrew Joslin
df9c0747c9 fix(listView): reordering up is more responsive, fix scrolling error
Closes #1202
2014-05-14 08:39:13 -06:00
Tim Lancina
6e725b190f formatting tweak 2014-05-13 13:28:17 -05:00
Tim Lancina
373c0cd44f fix(scroll): scroll inputs correctly with footer 2014-05-13 13:10:26 -05:00
Tim Lancina
5ad395d599 only wait longer for keyboard resize on android 2014-05-12 15:15:51 -05:00
Adam Bradley
ed3ee1d02b fix(scroll): Scrolling using pointer events
Scroller only worked with touch or mouse events, but not with MSPointer
or standard pointer events.
2014-05-12 15:13:44 -05:00
Tim Lancina
61c9c4571b account for elements under scroll view when resizing 2014-05-12 14:31:53 -05:00
Andrew Joslin
291d723ab1 feat($ionicModal): allow configuration of backdropClickToClose
Addresses #1087
2014-05-12 08:24:19 -06:00
Adam Bradley
5f2fdfdd07 fix(textarea): Allow scroll in textarea when focused
Closes #1280
2014-05-09 12:05:45 -05:00
Andrew Joslin
d108a29e58 fix(ionToggle): stop error in edge case of drag ending before raf 2014-05-09 08:08:28 -06:00
Andrew Joslin
95d1aea4f1 chore(travis): re-enable jshint 2014-05-08 09:11:16 -06:00
Adam Bradley
d839f4da64 fix(select): Open select options on Android 2.3
Closes #1298
2014-05-08 09:04:06 -05:00
Adam Bradley
57d66b2a2d style(jshint): jshint 2014-05-08 08:19:14 -05:00
Adam Bradley
98ee7ee293 chore(log): use console.log instead of .debug
Console statements get removed during builds, but when testing IE 10
does not support console.debug.
2014-05-07 13:42:48 -05:00
Adam Bradley
56db0b74ba run onScroll() within triggerScrollEvent() 2014-05-06 08:30:12 -05:00
Andy Joslin
89a9ed1547 fix(scrollView): recalculate size on mousewheel scroll 2014-05-05 12:09:31 -06:00
Andy Joslin
611525ed04 style(scrollView): remove console.log 2014-05-05 11:06:01 -06:00
Andy Joslin
e6e1896629 test(collectionRepeat): finish unit tests 2014-05-05 10:31:09 -06:00
Adam Bradley
6b3c2b929a merge keyboard-fixes 2014-05-03 22:30:21 -05:00
Tim Lancina
3abab65351 android fullscreen tweaks 2014-05-02 16:57:19 -05:00
Andy Joslin
ade143ed35 fix(bar): properly align titles if switching to view with no buttons
Closes #1242
2014-05-02 12:13:39 -06:00
Jay Proulx
920dc59d75 fix(ionSlideBox): prevent NPE during drag
Closes #1240
2014-04-30 10:21:53 -06:00
Andy Joslin
e003bf18bc feat($ionicSlideBoxDelegate): add enableSlide(true/false) method
Closes #1122
2014-04-30 09:38:24 -06:00
Andy Joslin
8992e7c903 fix(scrollView): stop polluting global.core 2014-04-30 09:17:06 -06:00
Max Lynch
4e2a6c0037 feat(scrollView) - pinch to zoom. Fixes #679 2014-04-29 17:11:18 -05:00
Tim Lancina
c9e07e810e poll for window height change on android 2014-04-29 15:43:51 -05:00
Andy Joslin
3a68a2c902 fix(ionList): make reorder follow an offset list as it scrolls 2014-04-29 10:40:54 -06:00
Tim Lancina
a7f6e1c7c6 get keyboard wip stuff working decently on android 2014-04-28 16:21:01 -05:00
Adam Bradley
da0ad75779 set onScroll when scrolling to text input, closes #1213 2014-04-28 10:04:24 -05:00
Andy Joslin
90da2da66f fix(ionList): make reorder position work if list is offset
Addresses #1202
2014-04-25 07:05:27 -06:00
Adam Bradley
ae3318a081 refactor(keyboard): Scroll to inputs hidden by keyboard 2014-04-24 20:22:16 -05:00
Andy Joslin
934158baf5 virtualScroll: non-full-featured version, to start testing 2014-04-23 17:52:51 -06:00
Max Lynch
b220f7b30d Bringing the interval down again 2014-04-19 16:49:53 -05:00