question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undocumented <SkipLinks /> component swallowing <TAB> keypress event with React 16

See original GitHub issue

I apologize in advance, but unfortunately I am cannot repro this in a CodePen. I am posting here as a broad call for help from maintainers for tips/clues.

Grommet 1.x misbehaves with react and react-dom @ 16.x in terms of keyboard event behavior when pressing the tab key.

Our app fails to traverse focus from standard <input type="text"> elements due to (or related to) the undocumented <SkipLinks /> component.

Possible culprits:

  • components/SkipLinks.js (tab key capture appears to execute here, but does not bubble)
  • utils/KeyboardAccelerators.js
  • utils/DOM.js (perhaps something with generateId ?)

Expected Behavior

  • Form <input> elements should blur + focus next input when pressing tab key

Actual Behavior

  • Focus fails to leave currently focused form element

Your Environment

  • Grommet version: 1.8.3
  • Browser Name and version: Chrome 62.0.3202.89
  • Operating System and version (desktop or mobile): desktop; macOS 10.12 + Ubuntu 17.10

App Structure

<App>
  <Sidebar>
    <!-- content -->
  </Sidebar>
  <Split flex="right" showOnResponsive="both">
    <div>
      <!-- some other split content -->
    </div>
    <Split flex="right" showOnResponsive="both">
      <Form>
        <FormField>
          <TextInput name="email" />
        </FormField>
        <FormField>
          <TextInput name="password" />
        </FormField>
        <button type="submit" value="Login" />
      </Form>
     </Split>
     <div />
  </Split>
</App>

Thanks in advance for any insight offered.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alansouzaticommented, Nov 13, 2017

Palo Alto, CA. If you ever come to the bay area let us know, we can schedule a happy hour 🍻

It is always good to chat with the community and grab info on things they like/not like about Grommet 👍

1reaction
alansouzaticommented, Nov 13, 2017

cool. let me work on releasing a new grommet version. We should have 1.9.0 by the end of the day!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Consult: space/enter keyEvent is swallowed by NVDA #7898
I'm working on a project that within a QT application, there is QWidget loads an html. And I need when using NVDA tab...
Read more >
frequent-classes - CodaLab Worksheets
... thumbnail 12001 linkedin 11952 phone 11948 on 11927 tab 11860 share 11795 ... 7053 actions 7032 helper 6985 16 6902 m 6887...
Read more >
Untitled
Interna szczeklika allegro, Hajime no ippo hekireki tab, Formulary exception request form, ... Misterium paschalne bouyer, My tears my destiny part 16.
Read more >
LOVING :: Camila Prada - We Are Scout
blog by Lisa Tilse. Design-led craft, interiors inspiration & curated goodness.
Read more >
Archive—April, 2008 - Adactio
Panayiotis says that navigation is a key problem. ... and talks about what he “learned” from Steve Faulkner today… in other words, he's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found