Adam Bradley
8c55e280ba
fix scrolling through list causes "active" class on items
2014-03-17 13:47:04 -05:00
Andy Joslin
bd66fc8b28
docs(): remove group tag
2014-03-17 10:24:28 -06:00
Adam Bradley
f8a7137744
fix(click): Click Events In SlideBox Fire Multiple Times, closes #808
2014-03-17 08:01:57 -05:00
Adam Bradley
baa04cde4d
feat(active): Removing use of :active in favor of .active for more control of active state
...
Using the :active pseudo works fine for desktop, but mobile is a
completely different beast, especially with the quirks of each
platform. By intentionally not using any :active selectors and manually
adding/removing a .active class, it gives us a precise control on how
the active state works for ALL platforms. Additionally, this places
less selectors in the css, and reduces the possibility of unnecessary
repaints. Currently this method of using .active instead of :active is
being applied to .button and .item elements.
2014-03-15 01:12:56 -05:00
Adam Bradley
a3ea027fb0
fix indent alignment
2014-03-14 22:20:12 -05:00
Andy Joslin
8619d5e8ec
docs(): add groups by topic
2014-03-14 15:14:16 -06:00
Adam Bradley
4066682381
separate tap from poly to make it easier to avoid tap logic in the future
2014-03-12 22:28:10 -05:00
Andy Joslin
4813fd0bb9
docs: allow multiple versions
2014-03-12 15:55:50 -06:00
Adam Bradley
98e7e1aa87
fix(tap): Do not trigger a click if the element was scrolled after touchstart/mousedown
2014-03-11 16:20:19 -05:00
Andy Joslin
e9625ded9d
docs: add services, utilities
2014-03-11 13:02:36 -06:00
Adam Bradley
6f2d6e7c5a
fix(tap): Do not detect taps for input[type=file], closes #652
2014-03-10 11:45:15 -05:00
Adam Bradley
64ad982853
tapped element should only climb up a max of 5 parents
2014-03-10 11:20:11 -05:00
Adam Bradley
181269a2fe
do not set a platform if unknown, closes #753
2014-03-09 22:01:38 -05:00
Adam Bradley
a6c47cd3bf
fix(platform): Fix Platform.showStatusBar so it can be used multiple times, closes #702
2014-02-28 23:31:13 -06:00
Adam Bradley
cfbb9d6002
jshint fix
2014-02-28 10:53:41 -06:00
Adam Bradley
2565000564
fix(list): Drag to expose list option buttons, closes #701
2014-02-28 10:42:08 -06:00
Adam Bradley
631208f1d8
_checkPlatforms refactor
2014-02-24 22:05:00 -06:00
Adam Bradley
b051fa7c9f
platform test fix
2014-02-24 14:44:59 -06:00
Adam Bradley
7a3930f6ae
improve platform/version/grade fallbacks with user-agents
2014-02-24 13:42:33 -06:00
Adam Bradley
fcd0fa73c4
fix(platform): Update ionic.Platform.is() to check all platforms, closes #604
2014-02-23 21:58:17 -06:00
Adam Bradley
591dbc3fec
changed gestures to add .disable-user-behavior instead of multiple styles
2014-02-20 21:26:10 -06:00
Adam Bradley
b69b40c826
feat(grade): Set grade in body class depending on platform performance
...
First draft of how devices play out:
.grade-a:
- iOS
- >= Android 4.4
.grade-b:
- Android >= 4 && < 4.4
.grade-c:
- Android < 4
2014-02-20 20:41:48 -06:00
Adam Bradley
575cb1cbb9
avoid document.createElement('div') in css polyfill
2014-02-20 15:49:30 -06:00
Adam Bradley
52671c18f9
fix(transform): Polyfill style.transform to work w/ non-webkit
2014-02-20 15:40:12 -06:00
Adam Bradley
2a68d0b5b6
increase REMOVE_PREVENT_DELAY by 50ms
2014-02-20 10:35:15 -06:00
Adam Bradley
08dcca9ffb
fix jshint
2014-02-18 21:57:04 -06:00
Adam Bradley
0421b7b450
Minimal classList polyfill added
2014-02-18 21:54:15 -06:00
Adam Bradley
ec8862a7cc
tap polyfill removeClickPrevent and label fixes
2014-02-18 13:27:14 -06:00
Adam Bradley
62fefc3c2d
click/tap refactor
2014-02-18 09:03:10 -06:00
Andy Joslin
d056ad1fef
perf(animations): throttle calls to requestAnimationFrame
...
Closes #582
2014-02-17 17:26:34 -05:00
Adam Bradley
71ea118e4d
range.getBoundingClientRect check for null, fixes #580
2014-02-17 10:44:05 -06:00
Andy Joslin
17cc040896
fix(anchorScroll): find offset of nested elements correctly
...
Closes #618
2014-02-17 10:20:39 -05:00
Adam Bradley
f736ae510e
blur active input w/ setTimeout
2014-02-16 22:07:19 -06:00
Andy Joslin
0c52fd2673
chore(travis): remove console.log from *all* ionic js files
...
Closes #586
2014-02-13 12:28:44 -05:00
Adam Bradley
91fbcdc130
fix to prevent ghostclick of an input under a modal
2014-02-13 10:00:41 -06:00
Adam Bradley
fc8ab4b8ea
fix(click): event.preventDefault() when setting focus() on an input, closes 583
2014-02-13 01:46:51 -06: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
Adam Bradley
2132d292e7
fix(click): Clicks firing twice, closes #573
2014-02-10 13:36:39 -06:00
Andy Joslin
a970f0bdc3
feat(domUtil): add getPositionInParent function
...
Find an element's offset, then add it to the offset of the parent
until we are at the direct child of parentEl.
Use-case: find scroll offset of any element within a scroll container
2014-02-09 11:36:15 -05:00
Adam Bradley
5ebbbab5e7
run tapPolyfill for mouse pointerType too
2014-02-06 13:58:53 -06:00
Adam Bradley
e96a77e5ac
wrap exitApp in cordova ready
2014-02-05 20:49:36 -06:00
Andy Joslin
479175bf5d
refactor(view): use nextUid from angular to generate unique ids
...
Math.random() is unreliable, produces duplicates, and numbers can
overflow if you use them for long enough.
2014-02-04 08:46:02 -05:00
Adam Bradley
00f6b17b7f
toggle/checkbox tap improvements
2014-02-01 00:15:10 -06:00
Adam Bradley
7352be9010
set major and minor platform versions in body css
2014-01-31 20:57:26 -06:00
Adam Bradley
f37b196ff8
refactor ionic.Platform methods
2014-01-31 20:36:39 -06:00
Adam Bradley
25a9e527af
ionic.Platform.exitApp(), always run onPlatformReady()
2014-01-31 11:55:31 -06:00
Adam Bradley
2add26afbb
readyCallbacks array and platform() method to get name
2014-01-31 10:45:31 -06:00
Adam Bradley
b20ce800ab
fallback for browsers that don't support createEvent('CustomEvent')
2014-01-30 20:38:57 -06:00
Adam Bradley
a78a56898c
Merge pull request #471 from RangerRick/470-customevent-polyfill
...
#470 change the CustomEvent polyfill to work with older browsers
2014-01-30 18:28:42 -08:00
Adam Bradley
e231ba0ed5
correct reference to hammer.js
2014-01-30 12:28:11 -06:00