* Removes the `tabindex` from the chip grid and resets it back afterwards, allowing the * user to tab out of it. This prevents the grid from capturing focus and redirecting * it back to the first chip, creating a focus trap, if it user tries to tab away.
()
| 437 | * it back to the first chip, creating a focus trap, if it user tries to tab away. |
| 438 | */ |
| 439 | protected override _allowFocusEscape() { |
| 440 | if (!this._chipInput?.focused) { |
| 441 | super._allowFocusEscape(); |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | /** Handles custom keyboard events. */ |
| 446 | override _handleKeydown(event: KeyboardEvent) { |