vue-match-heights icon indicating copy to clipboard operation
vue-match-heights copied to clipboard

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

Open danielstenson opened this issue 5 years ago • 0 comments

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>

danielstenson avatar Apr 19 '20 17:04 danielstenson