8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa78dd commit d8b83e4Copy full SHA for d8b83e4
packages/core/data/dom-events/dom-event.ts
@@ -192,8 +192,7 @@ export class DOMEvent implements Event {
192
* [Button, StackLayout, Page] // 'bubble'
193 65AB
193
*/
194
private getEventPath(responder: Observable, path: 'capture' | 'bubble'): Observable[] {
195
- recycledEventPath.splice(0, recycledEventPath.length);
196
- recycledEventPath.push(responder);
+ recycledEventPath.splice(0, recycledEventPath.length, responder);
197
198
if (!responder.isViewBase()) {
199
return recycledEventPath;
0 commit comments