This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Commit 29cf32b
fix(dialog, menu, select, interimElement): use $animateCss instead of transitionEnd events.
replace programmatic use of element.css for style changes and use of transitionEnd event listeners with use of ngAnimate's $animateCss; use polyfill for Angular <1.4.
$mdUtil.dom.animator.translate3d() uses $animateCss() instead of waitTransitionEnd()
use animateCss.js polyfill for 'material.animate' module
- add mock `createMockStyleSheet` for animateCss tests
refactors to menu-interim-element.js and select.js
- refactor logic and patterns used
- use $animateCss in place of waitTransitionEnd()
debounce Select and Menu window resize handlers
Dialog uses same showBackdrop/hideBackdrop pattern as Menu and Select
select async demo no longer clears users list when reloading
select demos use `md-input-container { margin-right: 10px;}`
hide Select Backdrop with zero duration
enable full click detection in select-value area by using background color (with zero alpa).
BREAKING-CHANGES: select and backdrop styles added
* select list text is not selectable,
* select backdrop hide duration is 0ms
* select text value background has zero alpha
```scss
.md-text { @include not-selectable(); }
.md-select-value {
background-color: rgba(0,0,0,0);
}
md-backdrop {
&.md-select-backdrop {
transition-duration: 0ms;
}
}
```
Fixes #3919. Fixes #3837. Fixes #3773, Fixes #3640. Fixes #3527. Fixes #3653.1 parent c63e859 commit 29cf32b
File tree
19 files changed
+1756
-625
lines changed- src
- components
- backdrop
- dialog
- select
- demoBasicUsage
- demoOptionGroups
- demoOptionsWithAsyncSearch
- core
- services/interimElement
- util/animation
- test
19 files changed
+1756
-625
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | 533 | | |
537 | 534 | | |
538 | 535 | | |
| |||
610 | 607 | | |
611 | 608 | | |
612 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
613 | 614 | | |
614 | 615 | | |
615 | 616 | | |
| |||
619 | 620 | | |
620 | 621 | | |
621 | 622 | | |
| 623 | + | |
622 | 624 | | |
623 | 625 | | |
624 | | - | |
| 626 | + | |
625 | 627 | | |
626 | 628 | | |
627 | 629 | | |
| |||
0 commit comments