GithubHelp home page GithubHelp logo

multi-columns-layout's People

Contributors

syt-honey avatar

Stargazers

 avatar

Watchers

 avatar  avatar

multi-columns-layout's Issues

When the height of the inserted component is 0, the height of the grid-item will also be calculated

Issue Type

Bug Report

Issue Title

When the height of the inserted component is 0, the height of the grid-item will also be calculated

Repository Version

0.1.4

OS/Browser Version

macOS Big Sur 11.2.3/89.0.4389.114(正式版本) (x86_64)

Vue Version

2.6.11

Steps to reproduce

  1. Follow the steps of the official website to create
  2. Define picList in the data function as this in App.vue
  3. Insert the picList list in the component as:
<multi-columns-container>
      <multi-columns-item v-for="(item, index) in picList" :key="index">
        <p v-if="item.content">{{ item.content }}</p>
      </multi-columns-item>
</multi-columns-container>
  1. The height of the grid-item will also be calculated, but the height of <p> is 0( it's empty)

What is Expected?

when the content height of <multi-column-item> is 0, it will not occupy a height.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.