Commit 8bbb116
fix(drag-drop): handle delay coming in as a string (#15425)
Since the `cdkDragStartDelay` is an input, it can be passed in as `cdkDragStartDelay="1000"` which doesn't go through type checking and is translated into a string which ends up breaking the drag sequence. These changes make sure that things work even if it comes in as a string.1 parent e8827e2 commit 8bbb116
2 files changed
Lines changed: 33 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
761 | 791 | | |
762 | 792 | | |
763 | 793 | | |
| |||
3172 | 3202 | | |
3173 | 3203 | | |
3174 | 3204 | | |
3175 | | - | |
| 3205 | + | |
3176 | 3206 | | |
3177 | 3207 | | |
3178 | 3208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| |||
0 commit comments