1.0.0-beta.10 "hafnium-heron"
Bug Fixes
- button: fix button overflow causing whole screen to overflow left/right (114dad8c, closes #1780)
- collectionRepeat:
- gesture: fix onSwipeDown (2dce7a74, closes #1810)
- ionList: allow scrolling while reorder or delete is active (2e9d0965, closes #1703)
- ionReorderButton: stop
ngRepeat:dupes
error when reordering (ba1859b3, closes #1601) - list:
- loading:
- nav: remove disabled-pointer-events (5b50e120, closes #1383)
- navBar: only add default animation if there is no custom animation (cdba48f1, closes #1671)
- scroll:
- scrollView:
- select: prevent ion-item text from overlapping select input. (a56e647b, closes #1735)
- sideMenu:
- sidemen: scroll false causes sidemenu content to disappear. (6b218042, closes #1485)
- slidebox: default to not autoplay (81a7342f)
- sliderView: "getBoundClientRect" typo (0dad2ed6)
- tap:
- toggle: fix ngChange being reported before model changes (537b29d0, closes #1349, #1741)
- view: don't affect history when inside a modal (b7f45e7c, closes #1667)
Features
- $ionicLoading: add $ionicLoadingConfig constant for default options (26ca840d, closes #1800)
- checkbox: add disabled and emotion styles to ion-checkbox. and #1509 (79fb1e49, closes #1683)
- ionModalView: ion-modal-view to wrap template instead of
<div class="modal">
(ed4f2288, closes #1668) - ionSideMenu: add
edge-drag-threshold
, delegateedgeDragThreshold()
(ba56bb98, closes #1570) - ionSlideBox: add 'auto-play' attr to optionally disable auto-play (8f808609, closes #1552)
- tab: options 'hidden' attribute for tabs., #1673 (bb6976ad, closes #1666)
Breaking Changes
ion-toggle no longer has an isolate scope.
This will break your toggle only if you were relying upon the toggle
having an isolate scope: if you were referencing $parent.value
as
the ng-disabled attribute, for example.
Change your code from this:
<ion-toggle ng-disabled="{{$parent.isDisabled}}"></ion-toggle>
To this:
<ion-toggle ng-disabled="{{isDisabled}}"></ion-toggle>
(537b29d0)
- 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.
(ba1859b3)