Adam Bradley
8ebde73d0b
feat(swipe): iOS swipe to go back
2015-02-06 16:29:50 -06:00
perry
7134114bd5
feat(refresher): Allow refrsher to work with native scrolling
...
This update allows `<ion-refresher>` to work with native scrolling. Native scrolling can be enabled in the state deffinition, through the `$ionicConfigProvider` like `$ionicConfig.scrolling.jsScrolling(false);` or in the controller directly. It should function exactly the same as with JS scrolling enabled.
This is a merge of the wip-scrolling branch.
2015-02-05 11:41:53 -06:00
Max Lynch
93643c4127
fix(scrollView): higher velocity threshold for sliding
2015-02-04 09:58:58 -06:00
Adam Bradley
955f44110b
feat(pullToRefresh): add on-pull-progress
...
Add the ability to get the progress of a user’s pull to refresh, while
they’re pulling down the refresher.
2015-01-05 08:17:11 -06:00
Max Lynch
9f437a8c2b
fix(scroll): ion-scroll swallows scroll events by default. Fixes #2695
2014-12-12 15:11:28 -06:00
Adam Bradley
c35d69115e
refactor(scrollView): do not update if not rendered
2014-12-09 15:27:06 -06:00
Adam Bradley
12bb8de55e
fix(modal): focus on inputs under keyboard
2014-12-06 22:44:02 -06:00
Wesley Cho
0a8eb3914f
fix(scrollView): make mousewheel events firefox-compatible
...
Closes #2616
2014-12-01 16:41:47 -07:00
Andrew
037d2c368e
fix(scrollView): fix null pointer exception on scrollbar
2014-12-01 10:58:44 -07:00
Adam Bradley
b69cad8b84
refactor(scrollBar): rAF scrollbar transitions
...
Only make changes to the scrollbar element’s style when there is a
change, and use requestAnimationFrame when there is a change.
2014-11-10 21:11:07 -06:00
Adam Bradley
6385452303
refactor(scrollView): only update DOM on changes
...
On line 1188 and 1094, only make updates to the content element’s
transform style when there are actual DOM changes that need to be made,
instead of accessing the DOM just to set the same value. Also many
style() updates.
2014-10-09 20:11:48 -05:00
Perry Govier
84f18a1c6e
fix(content): don't resize content on keyboard open if it's inside a modal. Fixes #2212
2014-10-06 14:56:35 -05:00
Perry Govier
8787760aad
fix(pull to refresh): minor optimization to prevent flicker on deactivate
2014-09-25 15:47:26 -05:00
Adam Bradley
03086ed228
fix(nav): prevent flickers between views
...
By default the scroll bar is being created for each view, then
immediately it adds the .scroll-bar-fade-out class. On every transition
you sometimes saw the scroll bar appear then fade away quickly. Sure
that was annoying and has been fixed to prevent that, but the real
issue is that on every view transition, the scroll bar’s opacity
transition fired off a transitionend event, which bubbled up to the
view and messed with Angular’s $animate. If timed out correctly, at the
time the scroll bar’s transitionend event bubbled up, and an element
was actively leaving the view, it would confuse $animate and cause the
leave animation to abruptly end, which caused an ugly flicker.
2014-09-16 22:58:22 -05:00
Perry Govier
e608bada6d
amend(refresher): fix for if height is unknowable, and earlier commit changes lost in scrollView
2014-09-16 22:55:13 -05:00
Perry Govier
db27fb116c
feat(refresher): Improve refresher animation. Allow pulling icon rotation to be disabled.
2014-09-16 16:22:02 -05:00
Adam Bradley
74de015c22
fix(keyboard): android scroll stuck
...
When a state change happens, ensure the keyboard is hidden. When a
keyboard is hidden, ensure all pending timers our cleared. When
resetting scrollView, ensure it’s only doing it when it has to.
For testing: #1670 #2192
2014-09-14 23:18:57 -05:00
Adam Bradley
8883c6ccc5
fix(scroll): ensure scrollView objects exist
...
Check if scrollView is null when switching off of tabs view. #2181
2014-09-12 23:05:28 -05:00
Adam Bradley
ba3600dfb4
fix(scroll): calculate padding-bottom
...
Closes #2174
2014-09-10 12:24:10 -05:00
Justin Basinger
f89f010cce
fix(scrollview, content): Fixed multiple memory leaks in scrollview and content
2014-09-08 12:21:49 -05:00
Andrew
d18f0f77cd
test(view): amend some broken tests
2014-08-18 09:30:13 -06:00
Andrew
c5966bba05
fix(scrollView): resolve memory leaks with holding element references
...
Addresses #1993
2014-08-18 09:01:29 -06:00
Perry Govier
c336e8ede8
fix(refresher): finish animating before changing icon, hide when not in use
2014-08-07 17:54:30 -05:00
Adam Bradley
944d2595af
fix(sideMenu): fix stopping content scrolling
...
When a list was within a side menu it could scroll up and down, but if
the user happened to drag a little bit on the X axis, then it would try
to open the side menu and the Y scroll of the content stopped. Closes
#1541
2014-08-07 12:22:28 -05:00
Adam Bradley
abf77a1cf0
style(): spaces man, spaces
2014-08-06 20:37:03 -05:00
Andrew
1c789f8a88
fix(scrollView): always stay exactly within boundaries after bounce
...
Closes #1736
2014-07-07 12:18:20 -06: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
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
Jared Smith
e88659c6f8
fix(ionScroll): let zoom work on android devices
...
Closes #1440
2014-06-04 13:56:26 -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
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
Adam Bradley
5f2fdfdd07
fix(textarea): Allow scroll in textarea when focused
...
Closes #1280
2014-05-09 12:05:45 -05: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
8992e7c903
fix(scrollView): stop polluting global.core
2014-04-30 09:17:06 -06:00