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

[Bug v2] Expandable styling incorrect #63

Closed
CollinHerber opened this issue Dec 24, 2021 · 1 comment
Closed

[Bug v2] Expandable styling incorrect #63

CollinHerber opened this issue Dec 24, 2021 · 1 comment

Comments

@CollinHerber
Copy link

Video of what is happening: https://chicksgold.gyazo.com/37f338d9d9fef76712c8c28516713ff4
Version of aurelia-mdc: v8.0.1-au2

Code:

        <mdc-expandable accordion>
            <div slot="caption">Lorem ipsum dolor...</div>
            Lorem ipsum dolor sit amet, ad erat postea ullamcorper nec, veri veniam quo et. Diam phaedrum ei mea, quaeque
            voluptaria efficiantur duo no. Eu adhuc veritus civibus nec, sumo invidunt mel id, in vim dictas detraxit. Per
            an legere iriure blandit. Veri iisque accusamus an pri.
        </mdc-expandable>
        <mdc-expandable accordion>
            <div slot="caption">Lorem ipsum dolor...</div>
            Lorem ipsum dolor sit amet, ad erat postea ullamcorper nec, veri veniam quo et. Diam phaedrum ei mea, quaeque
            voluptaria efficiantur duo no. Eu adhuc veritus civibus nec, sumo invidunt mel id, in vim dictas detraxit. Per
            an legere iriure blandit. Veri iisque accusamus an pri.
        </mdc-expandable>
@MaximBalaganskiy
Copy link
Contributor

The correct usage in au2 is

<mdc-expandable>
  <div au-slot="caption">Lorem ipsum dolor...</div>
  <template au-slot>
    Lorem ipsum dolor sit amet, ad erat postea ullamcorper nec, veri veniam quo et. Diam phaedrum ei mea, quaeque
    voluptaria efficiantur duo no. Eu adhuc veritus civibus nec, sumo invidunt mel id, in vim dictas detraxit. Per
    an legere iriure blandit. Veri iisque accusamus an pri.
  </template>
</mdc-expandable>

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