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

100
Views
MDC select dropdown jumps to bottom

I am using mdcselect for my project.

<div class="trailer-size-sort sort-dropdown loading">
        <div  class="mdc-select mdc-trailer-size">
        <span class="mdc-floating-label" id="size" style="">Size</span>
        <div class="mdc-select__selected-text" role="button" aria-haspopup="listbox" aria-label="label">Value</div>
        <div class="mdc-select__menu mdc-trailer-size--list mdc-menu mdc-menu-surface detatched-list" role="listbox">
        <ul class="mdc-list">
           <li class="mdc-list-item" data-value = "some value1">some value1</li>
          <li class="mdc-list-item" data-value = "some value2">some value2</li>
         <li class="mdc-list-item" data-value = "some value3">some value3</li>
        </ul>

now even though the select box is rendering properly, the drop down jumps to the bottom of the page on click,

the "top" is not calculated.

when it doesnt work enter image description here

when it works enter image description here

unable to find the root cause of this behavior.

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!