question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Combobox opening under modal

See original GitHub issue

It’s getting quite messy , spent whole day and still not working

I have tried to implement the combobox with 2 alternatives …

  1. using the itemValueKey… but here i hit the problem as you also have on your demo webpage https://angular.carbondesignsystem.com/?path=/story/components-combobox--with-reactive-forms

image

now clear that item or select any other value in case you clear that item, whatever you select is not shown on screen

image

or if you don’t clear, the value always stays the same image

see the “selected”

Please help me out urgently , i’m promoting this library but with every update , i think new problems are created

  1. without itemValueKey

i’m not even sure where to start, maybe related with your upgrade to angular 10 (which i was using when you were not yet on ng10 ) and your previous version WAS working , so it might be your upgrade to angular 10

So i had to change to using “temValueKey” that at least didn’t give me any error ( just the bug above)

this is the bug i got

  "TypeError: Cannot assign to read only property 'selected' of object '[object Object]'",
     "    at DropdownList.push.8a99f462d6cebb67ffa6.DropdownList.doClick )",
     "    at Object.eval [as handleEvent] (ng:///DropdownModule/DropdownList.ngfactory.js:66:23)",
     "    at handleEvent ",
     "    at callWithDebugContext"

thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
huinengcommented, Jan 19, 2021

For me you can close it, i don’t have that problem with my apps, i just thought it might be an issue in the library

0reactions
zvonimirfrascommented, Mar 16, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Styling lightning:combobox drop down to not hide inside ...
I the drop down hides inside the modal content area, and extends the length of the modal so there is a lot of...
Read more >
Combobox opening under modal · Issue #1530 - GitHub
It's getting quite messy , spent whole day and still not working. I have tried to implement the combobox with 2 alternatives ....
Read more >
Dropdown Contents below Modal - jquery - Stack Overflow
I've given the modal a z-index of 3000 and given the dropdown the absolute maximum z-index of 2147483647 and the dropdown still renders...
Read more >
react-native-modal-dropdown - npm
A react-native dropdown component for both iOS and Android. ... Start using react-native-modal-dropdown in your project by running `npm i ...
Read more >
Dropdown Select Combo Box to be on Top of Popup
Dropdown Select Combo Box to be on Top of Popup · 1) Define a custom ExtendedClass class called "custom-modal" to the modal widget...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found