Comments (9)
@valdrinkoshi I think this sounds like a paper-dialog
issue, possibly with the focus wrapping code?
from paper-input.
Yes and no...paper-input
is considered to be focusable, but the hidden="true"
makes it effectively not focusable. I would suggest to also set tabindex="-1"
to the hidden paper-input
http://jsbin.com/qiyero/1/edit?html,output
from paper-input.
Shouldn't there be a rule about ignoring all hidden
elements, whatever they are? Even if I have a <button hidden>
, that will never be focusable as is, so it shouldn't be considered the first element in the chain, no?
from paper-input.
Uhm, then we'd need to do the same for all the visual properties that effectively disable the possibility to focus an element like display: none
or opacity: 0
.
from paper-input.
Well, if hidden
works, which it doesn't, it literally does display:none
and removes the element. opacity
or visibility
still leave the element there, and just make it invisible. I understand what you mean, but I also think that having a hidden
input be considered for anything is unintuitive.
from paper-input.
This is the 0.5 element π
from paper-input.
@blasten This is the 0.5 repo, but if you look at the linked code, it's about the 1.0 elements. Since I wasn't sure if I should move the issue to paper-dialog
, i wanted to get @valdrinkoshi's opinion first.
from paper-input.
I believe this is definitely related to the incapability of iron-overlay-behavior
to recognize the tabbable elements. Feel free to move it there :)
from paper-input.
This issue was moved to PolymerElements/iron-overlay-behavior#196
from paper-input.
Related Issues (20)
- polylint error HOT 1
- FireFox: bound property on disabled fields - label issue HOT 1
- Possible bug with a custom validator for paper-input with type=βnumberβ HOT 2
- When trying to focus an input as a result of a selection action, the keyboard dissapears on android mobile. HOT 1
- Any plans for adding a paper-input that expands as user types
- Paper Input area line disappears when you change screen resloutions HOT 1
- syncing issue??? HOT 1
- input values are not recognized by native form when Polymer.dom = 'shadow' HOT 1
- Setting font-size dynamically HOT 1
- Ability to hide Microsoft clear button on input
- paper-input as read-only field material design
- Floating Label Behavior
- document.getElementById returns null on Chrome HOT 1
- char counter is inaccurate
- anged value HOT 1
- 2.0-preview on iOS can't select second paper-input
- custom validation in paper-input 2.0-preview
- Should typography be included as a dependency? HOT 1
- paper-input title stuck after reset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paper-input.