ionic-team / ionic-team/ionic-framework

bug: tabindex adverse effect after adding clear-input="true"

Open
#23,605 6 comments 0 reactions 0 assignees View on GitHub
package: core type: feature request
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

# Bug Report

**Ionic version:**
As per latest on CDN

**Current behavior:**
When you fill an input item that has clear input set to true and then press tab the focus does not move to the next element. (even when tab index is set on the inputs)

**Expected behavior:**
Perhaps this is intended behaviour but I would expect the next input to be focused after you have finished writing in an input.

Tabbing to an element that already has text in it is working perfectly (please don't change this). It is just leaving the input that seem to require an additional un-needed tab.

**Steps to reproduce:**
Any ion-items in a row with clear input.

**Related code:**
[https://codepen.io/Lxstr/pen/KKmNVZm](https://codepen.io/Lxstr/pen/KKmNVZm)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.