Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paper-input with paper-icon-button as a suffix can't loose focus #631

Open
2 of 8 tasks
jarrodek opened this issue Mar 18, 2018 · 1 comment
Open
2 of 8 tasks

paper-input with paper-icon-button as a suffix can't loose focus #631

jarrodek opened this issue Mar 18, 2018 · 1 comment

Comments

@jarrodek
Copy link

jarrodek commented Mar 18, 2018

Description

When you have input that contains paper-icon-button as a suffix it is impossible to use tab to move to the button because paper-input gets focus when button is focused.

Example:

<paper-input label="username">
  <paper-icon-button slot="suffix" icon="clear" alt="clear" title="clear"></paper-icon-button>
</paper-input>

Expected outcome

Should be able to move focus from input to paper button.

Actual outcome

Focus going back to the input element instead of button.

Live Demo

Paper input demo page. Section Inputs can have prefixes and suffixes.

Steps to reproduce

  1. Append paper-icon-button as a suffix of paper input
  2. Focus on input field
  3. Use tab key.

Browsers Affected

I am using Ubuntu right now so I can test for chrome and FF only.

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@jarrodek jarrodek changed the title paper-input with paper-icon-button as a suffix can paper-input with paper-icon-button as a suffix can't loose focus Mar 18, 2018
@HJK181
Copy link

HJK181 commented Jul 1, 2019

Any chance this get's fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants