Skip to content

Nested <details> elements don't update properly #35727

@webbeef

Description

@webbeef

The test case is this file:

<!DOCTYPE html>
<html>
  <body>
    <details>
      <summary>Top Level</summary>
      <details>
        <summary>Sub Level 1</summary>
        <p>Some text about something.</p>
      </details>
      <details>
        <summary>Sub Level 2</summary>
        <p>Some text about something else.</p>
      </details>
    </details>
  </body>
</html>

To reproduce the issue, follow these steps:

  1. tap on the Top Level heading -> this opens the details and shows the 2 sub level headings.
  2. tap on the Sub Level 1 heading -> nothing happens!
  3. tap again twice on Top Level -> now the content of Sub Level 1 appears.

cc @simonwuelker

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions