- Notifications
You must be signed in to change notification settings - Fork221
Commitf9c38e3
committed
fix(dropdown): corrige fluxo de encerramento e restaura foco
Evita chamadas indevidas de close no popup e garante que o focoretorne ao elemento do dropdown após o fechamento. Torna o método`hideDropdown` acessível a subclasses e adiciona listener defechamento `(p-close)="hideDropdown()"` no template para manter oestado consistente.Fixes DTHFUI-116561 parentdf3ba1d commitf9c38e3
File tree
3 files changed
+14
-3
lines changed- projects/ui/src/lib/components/po-dropdown
3 files changed
+14
-3
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
|
Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
133 | 139 |
| |
134 | 140 |
| |
135 | 141 |
| |
| |||
142 | 148 |
| |
143 | 149 |
| |
144 | 150 |
| |
| 151 | + | |
145 | 152 |
| |
146 | 153 |
| |
147 | 154 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 |
| |
68 | 71 |
| |
69 | 72 |
| |
|
0 commit comments
Comments
(0)