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

75
Views
Component `escape` bubbling up from `select` element

I have a modal component. it used to close on press of escape button. now I have a select option within it. when i press the tab with select option and do the escape to come out of the select element, now my popup as well getting closed. i tried with adding stopPropagation but not works.

here is the html: confirmCancel() method getting triggered

<ibo-custom-modal [isTable]="true" [showModal]="addItemPop" [title]="title" (modalClosed)="confirmCancel()">

  <div (keydown)="($event); $event.stopPropagation()">//not works
    <select (keydown)="calling($event)">//tried here as well
      <option>one</option>
      <option>two</option>
      <option>the</option>
    </select>
  </div>
</ibo-custom-modal>
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!