ngu-carousel icon indicating copy to clipboard operation
ngu-carousel copied to clipboard

Tile item limit issue

Open vivek-p opened this issue 6 years ago • 1 comments

Hi, My config is { grid: { xs: 1, sm: 2, md: 4, lg: 4, all: 0 }, slide: 1, speed: 500, interval: 10 * 1000, point: { visible: true, pointStyles: ` .ngucarouselPoint { list-style-type: none; text-align: center; padding: 0px; margin: 0; white-space: nowrap; overflow: auto; position: absolute; width: 100%; bottom: -18px; left: 0; box-sizing: border-box; } .ngucarouselPoint li { display: inline-block; border-radius: 999px; background-color: rgba(128, 128, 128, 0.5); margin: 0 3.5px; transition: .4s ease all;

           height:9px;
           width:9px;
           opacity:0.5;
           cursor:pointer;
           background-color: grey;
         }

         .ngucarouselPoint li:hover {
          opacity: 0.85 !important;
          background-color: #676666;
         }
         .ngucarouselPoint li.active {
          background-color: #009ade !important;

          height:10px;
          width:10px;
          opacity: 1;
         }
         .ngucarouselPoint li:only-child {
           display:none;
         }
       `
  },
  load: 1,
  loop: true,
  touch: true
};

I have a dynamic component where the items would vary each time, sometimes 3 or 4 or n. My lg and md config has by default 4 items. If i have only 3 items, the carousal is allocating space for the expected 4th item which will not be available always. Any idea on handling this?

vivek-p avatar Jun 08 '18 08:06 vivek-p

Same problem here @vivek-p have you find any solution .

ChrisProlls avatar Nov 22 '18 14:11 ChrisProlls