mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
Fix tab focus issue in entity picker and password form. (#7252)
This commit is contained in:
parent
8d516ed12a
commit
701bea6cae
@ -215,6 +215,7 @@ export class HaEntityPicker extends LitElement {
|
|||||||
slot="suffix"
|
slot="suffix"
|
||||||
class="clear-button"
|
class="clear-button"
|
||||||
icon="hass:close"
|
icon="hass:close"
|
||||||
|
tabindex="-1"
|
||||||
@click=${this._clearValue}
|
@click=${this._clearValue}
|
||||||
no-ripple
|
no-ripple
|
||||||
>
|
>
|
||||||
@ -230,6 +231,7 @@ export class HaEntityPicker extends LitElement {
|
|||||||
slot="suffix"
|
slot="suffix"
|
||||||
class="toggle-button"
|
class="toggle-button"
|
||||||
.icon=${this._opened ? "hass:menu-up" : "hass:menu-down"}
|
.icon=${this._opened ? "hass:menu-up" : "hass:menu-down"}
|
||||||
|
tabindex="-1"
|
||||||
>
|
>
|
||||||
Toggle
|
Toggle
|
||||||
</ha-icon-button>
|
</ha-icon-button>
|
||||||
|
@ -55,6 +55,7 @@ export class HaFormString extends LitElement implements HaFormElement {
|
|||||||
id="iconButton"
|
id="iconButton"
|
||||||
title="Click to toggle between masked and clear password"
|
title="Click to toggle between masked and clear password"
|
||||||
@click=${this._toggleUnmaskedPassword}
|
@click=${this._toggleUnmaskedPassword}
|
||||||
|
tabindex="-1"
|
||||||
>
|
>
|
||||||
</ha-icon-button>
|
</ha-icon-button>
|
||||||
</paper-input>
|
</paper-input>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user