Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Height of elements outside of v-match-heights context affected #12

Open
danielstenson opened this issue Apr 19, 2020 · 0 comments
Open

Comments

@danielstenson
Copy link

All elements on the page that share the same class as the selector used within v-match-heights are affected even when out of context.

I.e.

<!-- Don't match row height -->
<div class="row">
  <div class="col-sm-6">
    <!-- Affected by v-match-heights -->
    <div class="content">
      ...
    </div>
  </div>
</div>
...
<!-- Match row heights -->
<div class="row" v-match-heights="{ el: ['.content'] }">
  <div class="col-sm-6">
    <!-- Affected by v-match-heights -->
    <div class="content">
      ...
    </div>
  </div>
</div>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant