Commit fbb61b8
fix(datepicker): corrige foco no campo após selecionar data no mobile
Agora o componente passa a verificar se é um dispositivo móvel após a
data ser selecionada no modo mobile, fazendo apenas com que o overlay
do calendário seja fechado.
Fixes DTHFUI-14951 parent 68558f9 commit fbb61b8
File tree
2 files changed
+37
-13
lines changed- projects/ui/src/lib/components/po-field/po-datepicker
2 files changed
+37
-13
lines changedLines changed: 33 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
716 | | - | |
| 715 | + | |
717 | 716 | | |
718 | | - | |
| 717 | + | |
| 718 | + | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
721 | 721 | | |
722 | | - | |
723 | | - | |
| 722 | + | |
724 | 723 | | |
725 | | - | |
| 724 | + | |
| 725 | + | |
726 | 726 | | |
727 | | - | |
728 | | - | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
729 | 730 | | |
730 | | - | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
731 | 754 | | |
732 | | - | |
733 | | - | |
734 | 755 | | |
735 | 756 | | |
736 | 757 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| |||
0 commit comments