We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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> does not respect tabindex contract.
<paper-input>
tabindex
https://codepen.io/rileybauer/pen/vaeMaQ (by @rileyjbauer) shows that tabIndex property and tabindex attribute can go out of sync. It looks like the tabIndex property is generated by Polymer: https://imgur.com/sSSBMFx.
tabIndex
The property and the attribute are in sync.
For example:
$0.tabIndex = -1; $0.getAttribute('tabindex'); // returns -1
and
$0.setAttribute('tabindex', 0); $0.tabIndex; // returns 0
Initial value of $0.tabIndex is undefined.
$0.tabIndex
undefined
Changing the property does not affect the attribute. For example:
$0.getAttribute('tabindex'); // returns 0 $0.tabIndex = -1; $0.getAttribute('tabindex'); // returns 0
https://codepen.io/rileybauer/pen/vaeMaQ (by @rileyjbauer)
Steps are explained in the live demo.
Additionally try interacting with <paper-input> directly from the console:
$0.tabIndex; // returns undefined $0.getAttribute('tabindex'); // returns 0 $0.tabIndex = -1; $0.getAttribute('tabindex'); // returns 0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
<paper-input>
does not respecttabindex
contract.https://codepen.io/rileybauer/pen/vaeMaQ (by @rileyjbauer) shows that
tabIndex
property andtabindex
attribute can go out of sync.It looks like the
tabIndex
property is generated by Polymer: https://imgur.com/sSSBMFx.Expected outcome
The property and the attribute are in sync.
For example:
and
Actual outcome
Initial value of
$0.tabIndex
isundefined
.Changing the property does not affect the attribute.
For example:
Live Demo
https://codepen.io/rileybauer/pen/vaeMaQ (by @rileyjbauer)
Steps to reproduce
Steps are explained in the live demo.
Additionally try interacting with
<paper-input>
directly from the console:Browsers Affected
The text was updated successfully, but these errors were encountered: