Commit Graph

36 Commits

Author SHA1 Message Date
Liam DeBeasi
5676bab316 lint(eslint): migrate to eslint and prettier (#25046) 2022-04-04 11:12:53 -04:00
Liam DeBeasi
2ac9105796 fix(ios): swipe to go back now works in rtl mode (#24866)
resolves #19488
2022-03-07 08:59:21 -05:00
Sean Perkins
6f66d08ba8 refactor(modal): move keyboard behavior for gestures into component (#24650) 2022-01-25 12:25:16 -05:00
Sean Perkins
525f01f086 fix(modal): native keyboard will dismiss when bottom sheet is dragged (#24642)
Resolves #23878

Co-authored-by: EinfachHans <hanskrywaa@web.de>
2022-01-25 11:28:30 -05:00
Mike Hartington
3451a34ad0 feat(angular): build for angular 12.0 (#23970) 2021-10-15 16:54:59 -04:00
Liam DeBeasi
4edb5e2fed fix(gesture): onEnd now correctly fires even if the event target was removed from the DOM (#23713)
resolves #22819 

Co-authored-by: Falingorn <falingorn@users.noreply.github.com>
2021-08-02 13:47:27 -04:00
Liam DeBeasi
bcccc217b8 fix(action-sheet, alert): resolve double click issue when running in iOS mode on chrome (#21506) 2020-06-12 10:36:09 -04:00
Liam DeBeasi
33be1f061e fix(ios): add haptic drag gesture for action sheet and alert components (#21060) 2020-05-26 11:33:51 -04:00
Liam DeBeasi
dea9248763 fix(all): gestures should use a passive listener (#21038) 2020-04-30 16:03:54 -04:00
Liam DeBeasi
32ecdd6753 feat(gesture): add support for blurring active inputs on gesture start (#20638)
fixes #20588
2020-04-27 10:52:14 -04:00
Liam DeBeasi
dd32a5e278 fix(ios): clamp out of bounds values for swipe to go back (#20540)
fixes #20505
2020-02-18 15:14:30 -05:00
Liam DeBeasi
21484f1f3a fix(gesture): release gesture when disabling (#19855)
fixes #19848
2019-11-12 10:45:06 -05:00
Mike Hartington
60aa027903 chore(): fix tabs (#19821)
* fix(tabs): do not wait on child tab setActive() lazy loading

* whenDefined example

* chore(): fix lint
2019-11-01 09:29:30 -07:00
Liam DeBeasi
df1bc1e627 refactor(gesture): update Gesture API to latest (#19671) 2019-10-17 14:18:39 -04:00
Liam DeBeasi
b1c8fa39d6 fix(swipe-back): account for negative step values (#19188)
fixes #19181
2019-08-26 11:33:11 -04:00
Liam DeBeasi
e0fa4a5276 chore(transition): update swipe back duration (#19148) 2019-08-21 10:09:40 -04:00
Liam DeBeasi
5a2c441b3c fix(animation): add cubic-bezier conversions for gesture animations (#19134)
* enable linear easing switch on progressEnd

* Add easing to menu

* remove console log

* Add tests

* clean up code

* update comments
2019-08-19 13:18:49 -04:00
Liam DeBeasi
30ca46ab12 feat(animation): add animation utility (#18918)
* Add new keyframes proof of concept

* update esm import

* add base before and after methods, add tests

* add base before and after hooks

* update clean up methods, add tests

* add web animations support, change to arrow functions

* remove console logs

* add from, to, fromTo, and other properties

* add more tests, fix onFinish functionality, being testing with nav transitions

* add progress methods, use force linear

* run linter

* Add playSync

* integrate animations with framework components

* onFinish now supports multiple callbacks

* change const to let

* testing reverse

* add support for both animation utilities

* bug fix

* export createAnimation, a few tweaks

* add base tests

* fix issue with onFinish being called out of order. added tests

* fix race conditions in tests

* clean up

* fix bug where onFinish not calling for empty elements array,  update test

* clean up

* fix treeshaking, remove old comments

* remove old tests

* Add test for animationbuilder backwards compat

* update typings for menu controller

* mock web animations in tests

* run build

* fix type errors

* sync with master

* use requestAnimationFrame instead of writeTask

* fix flaky tests, fix menu

* fix ordering

* update webdriver

* fix wrong version

* Revert "fix wrong version"

This reverts commit be91296e97.

Revert chromedriver update

* Revert "update webdriver"

This reverts commit e49bc9d76e.

Revert chromedriver update

* expose raw animation object, add tests

* add stylesheet recycling

* finalize before and after hook tests

* a few styling changes

* fix lint warnings

* get rid of old code

* Fix progressStep overflow bug

* disable reuse stylesheet

* small updates

* fix old animation create

* setStyleProperty helper

* reuse keyframe styles

* keyframes

* fix css animation issue with display: none, add tests

* add comment

* fix issue with progress animations and css animations

* clean up

* clean up pt2

* fix tests

* fix linter

* add fill for overlays

* fix swipe to go back

* clean up css animations when done

* fix edge cases with css animations

* fix menu open and close

* add reset function

* clean up reset fn

* Fix issue where animation always being reset

* allow updating animations on the fly

* add clear onfinish method

* fix linter

* add callback options, expand force direction

* ensure opts is defined

* fix css animations open and close for menus

* remove test

* add extra check

* clean up

* fix css anim bug swipe to go back

* fix pause

* setup alt animation to avoid flickering

* clean up

* reset flags on destroy

* add ability to change duration on progressEnd

* fix flicker on duration change for css animations

* fix ios transition

* remove unneeded recursion

* increase durability of updating css animations on the fly

* fix gesture anim

* fix web anim as well. more work for cleanup

* simplify progressEnd for css animations

* fix swipe to go back race condition

* clean up

* Add todo

* fix one more bug
2019-08-12 10:05:04 -04:00
Manu MA
03c1d19e07 perf(all): minify better by using arrow functions (#18730) 2019-07-10 10:33:33 -04:00
Manu MA
b40f7d36d5 fix(): update to Stencil One 🎉🎊 2019-06-19 21:33:50 +02:00
Liam DeBeasi
adaaf89737 chore(): remove debug and log statements (#18245)
fixes #18190
2019-05-21 14:55:41 -04:00
Manu Mtz.-Almeida
f05c59979f fix(menu): swipe-back has higher priority
fixes #16864
2018-12-28 20:38:24 +01:00
Manu Mtz.-Almeida
f9483a0c13 refactor(utils): reorganize some chunks 2018-12-28 20:38:24 +01:00
Manu MA
d69427eac0 fix(angular): swipeBackEnabled global config (#16668)
fixes #16624
2018-12-11 01:32:28 +01:00
Manu Mtz.-Almeida
c9b4e66f36 fix(gesture): release gesture when it's disabled
fixes #16335
2018-11-15 23:36:07 +01:00
Manu Mtz.-Almeida
108691dc44 fix(angular): add swipe-to-go-back gesture 2018-11-14 13:22:31 +01:00
Manu Mtz.-Almeida
633360fcba fix(all): gesture controller can block scrolling
fixes #15725
2018-09-25 17:46:58 +02:00
Manu Mtz.-Almeida
ff919de972 fix(): remove argument-less catch() 2018-09-14 03:03:21 +02:00
Manu Mtz.-Almeida
6e5c035b39 chore(tslint): disable 'no-floating-promises' 2018-09-14 00:50:44 +02:00
Manu Mtz.-Almeida
ba2230510e refactor(all): strict boolean conditions 2018-09-01 17:23:03 +02:00
Brandy Carney
4c879900e5 style(core): fix misspellings 2018-08-30 17:06:17 -04:00
Manu Mtz.-Almeida
a77ee2a6f8 fix(sliding): fix core gesture logic + priority configuration
fixes #14763
2018-08-07 17:14:04 +02:00
Manu Mtz.-Almeida
8253b04604 perf(menu): flickering 2018-08-03 00:29:49 +02:00
Manu Mtz.-Almeida
e9fd184175 fix(datetime): fix gesture 2018-08-02 23:15:26 +02:00
Manu Mtz.-Almeida
afb0906119 fix(pointer-events): listening to document 2018-08-01 19:08:56 +02:00
Manu Mtz.-Almeida
49cac8beec perf(gesture): lazy loaded dynamic ES module 2018-08-01 05:08:39 +02:00