Skip to content

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

@kristoferjoseph

Description

@kristoferjoseph

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions