perf(input): passive event listener for touch start events (#25610)

Resolves #25599
This commit is contained in:
Sean Perkins
2022-07-14 12:20:30 -04:00
committed by GitHub
parent fe757c35ee
commit 2d1efdbe6d
2 changed files with 2 additions and 3 deletions

View File

@ -496,8 +496,7 @@ export class Input implements ComponentInterface {
aria-label="reset"
type="button"
class="input-clear-icon"
onTouchStart={this.clearTextInput}
onMouseDown={this.clearTextInput}
onPointerDown={this.clearTextInput}
onKeyDown={this.clearTextOnEnter}
/>
)}