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

Tabs Do Not Preserve All Projected Elements #436

Open
mumptastic opened this issue Sep 22, 2022 · 0 comments · Fixed by TAMULib/weaver-components#505
Open

Tabs Do Not Preserve All Projected Elements #436

mumptastic opened this issue Sep 22, 2022 · 0 comments · Fixed by TAMULib/weaver-components#505
Assignees
Labels
bug Something isn't working

Comments

@mumptastic
Copy link
Contributor

mumptastic commented Sep 22, 2022

In order for content to display properly inside a tab, it must be wrapped inside a <div> or <span>. Previously this was not the case.

This tab content will lose 2 of the 3 p tags.

<tl-tabs>
      <template tab-content="TAB ONE">
          <p>1</p>
          <p>2</p>
          <p>3</p>
       </template>
</tl-tabs>

requiring this

<tl-tabs>
      <template tab-content="TAB ONE">
          <div>
            <p>1</p>
            <p>2</p>
            <p>3</p>
          </div>
       </template>
</tl-tabs>
@mumptastic mumptastic added the bug Something isn't working label Sep 22, 2022
@ghost ghost assigned mumptastic and ghost Sep 26, 2022
@ghost ghost changed the title Tabs Need Wrapping Div Tabs Do Not Preserve All Projected Elements Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant