eakoriakin / ionic-selectable

Ionic Selectable is an Ionic versatile and highly customizable component that serves as a replacement to Ionic Select, and allows to search items, including async search, create items, customize the layout with templates and much more. It provides an intuitive API and is easy to set up and use.
MIT License
549 stars 125 forks source link

Cant open ionic-selectable on a modal ionic 5 #391

Closed Sebastian-Elstadt closed 2 years ago

Sebastian-Elstadt commented 2 years ago

When an ionic-selectable element is present on an ion-modal it will fail to open. Upon further inspection, the problem seems to stem from a "connectedCallback" function which calls "document.querySelector('ion-modal')". This querySelector function gets the wrong ion-modal, not the selectable.

Sebastian-Elstadt commented 2 years ago

There seems to be an incompatibility between ionic and @ionic-selectable/angular (That's where this problem lies. It works if I just install ionic-selectable)

edy-ap commented 2 years ago

Hi i will check this

edy-ap commented 2 years ago

Hi this will be fixed in the next version, stay tuned.