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

Input focus lost when sibling is added to parent node. #86

Open
kristoferjoseph opened this issue Oct 19, 2017 · 1 comment
Open

Input focus lost when sibling is added to parent node. #86

kristoferjoseph opened this issue Oct 19, 2017 · 1 comment

Comments

@kristoferjoseph
Copy link
Collaborator

This is an edge case i discovered while using nanomorph "in anger".

What is the best way to test issues like these?

// initial state
<form>
  <label for=stuff>
    <input autofocus="autofocus" name="stuff">
  </label>
</form>

// Updated state based on input interaction
<form>
  <h1>YOU DID A THING!</h1>
  <label for=stuff>
    <input  autofocus="autofocus" name="stuff">
  </label>
</form>
@yoshuawuyts
Copy link
Member

yoshuawuyts commented Oct 20, 2017 via email

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