Closed robdodson closed 8 years ago
Looks good. I get this when I tab to the fab in canary:
That looks like the back to top fab. My current version isn't showing it anymore, do I need to jump to a future date?
ah I see it's on the extended page. Awesome that it doesn't do that on Beta :\
It's because the fab is wrapped in an <a>
. https://github.com/GoogleChrome/ioweb2016/blob/master/app/scripts/helper/elements.js#L216-L239
It's the <a>
that's being focused there (and I guess clipping in canary). Do you want me to remove the anchor and move those behaviors to fab itself?
No, we should keep the anchor. Otherwise we have to create our own fab. Just wanted to be sure you were aware of it.
Otherwise we have to create our own fab.
Not sure what you mean? There's a fab there as well, it's just wrapped.
<button>
for add/remove toggles so we get click handling for free. Use the platform!click
instead ofup
as it wasn't firing for the keyboard@ebidel PTAL