Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

161
Views
Appearing item in slider not scrollable

I have a slider where if you click on it, an youtube embed appears on top of the clicked item it, but when you try to scroll on the iframe, the slider doesn't scroll. Only with elements that have no iframe. Does anyone know how I can solve this issue?

<div class="podcast_wrapper">
   <div @click="(visible = !visible), (id = index)">
      <PodcastsItem
         :imageUrl="podcast.image"
         :title="podcast.name"
         :text="
         'Duur: ' +
         Math.round(podcast.duration / 1000 / 60) +
         ' minuten'
         "
         :class="visible && id === index ? 'hide' : ''"
         />
   </div>
   <div class="embed_wrapper" v-if="visible && id === index">
      <iframe
         style="border-radius:12px"
         :src="
         'https://open.spotify.com/embed/episode/' +
         podcast.id +
         '?utm_source=generator'
         "
         frameBorder="0"
         allowfullscreen=""
         allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
         ></iframe>
   </div>
</div>
.hide {
    position: relative;
    transition: 0.5s;
    opacity: 0;
    transform: rotateX(0.5turn);
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    @media #{$large-up} {
        height: 250px;
    }
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!