Skip to content

1.0.0-beta.10 "hafnium-heron"

Compare
Choose a tag to compare
@adamdbradley adamdbradley released this 25 Jul 01:45

Bug Fixes

  • button: fix button overflow causing whole screen to overflow left/right (114dad8c, closes #1780)
  • collectionRepeat:
    • properly display collection repeat inside a modal (1fbd3c56)
    • patch ngSrc/ngHref to fix a bug with falsy values (208ef13d, closes #1674)
  • 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:
    • make reorder/delete button animation work well on all devices (4f10a723)
    • add extra margin-bottom to the last list if the list is also a card. (306fe047, closes #1708)
  • loading:
    • stop resize flicker when showing & changing text (cb368698)
    • Prevent clicks on modal views when loading is active. (7630bd41, closes #1720)
  • nav: remove disabled-pointer-events (5b50e120, closes #1383)
  • navBar: only add default animation if there is no custom animation (cdba48f1, closes #1671)
  • scroll:
    • prevent native webkit scrollbars from showing (951a9d35)
    • anchor scroll should scroll to IDs that are multiple levels beneath the scroll v (3d0a46ef, closes #1804)
  • scrollView:
    • cloned input for keyboard-scroll now matches original (5da1ecd0, closes #1721)
    • always stay exactly within boundaries after bounce (1c789f8a, closes #1736)
  • select: prevent ion-item text from overlapping select input. (a56e647b, closes #1735)
  • sideMenu:
    • when a drag on content is disallowed, do not prevent default (ab500f2e, closes #1725)
    • when drag-content=false, allow drag-to-close (e3db0856, closes #1419)
  • sidemen: scroll false causes sidemenu content to disappear. (6b218042, closes #1485)
  • slidebox: default to not autoplay (81a7342f)
  • sliderView: "getBoundClientRect" typo (0dad2ed6)
  • tap:
    • only check classList on tap target if it has classList (5bf75321, closes #1677)
    • fire input behavior when tap/clicking file input label. (889482e0, closes #1699)
  • 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, delegate edgeDragThreshold() (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)