google / google/playground-elements

Using "selected" doens't load initially the contents of the tab if is not specified first.

Open
#388 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
648
Forks
61
PR merge metrics
No merged PRs in 30d

Description

This happens with more than one tab and when the selected tab is not the first one specified as a "script" such as in this case example:

```

<!doctype html>
<html>
<head>
<link rel="stylesheet" href="mi-hoja-de-estilos.css">
</head>
<body>
<h1>Ok..</h1>
</body>
</html>


```

In this case on initial load the HTML content is displayed first, when instead it should display the CSS tab. Quick workaround is swaping those script tags.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.