Sends focus to the first gridcell when the user clicks anywhere inside the chip.
()
| 149 | |
| 150 | /** Sends focus to the first gridcell when the user clicks anywhere inside the chip. */ |
| 151 | _handleFocus() { |
| 152 | if (!this._isEditing && !this.disabled) { |
| 153 | this.focus(); |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | override _handleKeydown(event: KeyboardEvent): void { |
| 158 | if (event.keyCode === ENTER && !this.disabled) { |