Giter Club home page Giter Club logo

Comments (4)

psenechal avatar psenechal commented on July 20, 2024 5

It ended up just being a styling issue in my case. My modals are set to z-index: 1050 and the default pac-container is set to z-index: 1000. I modified my global stylesheet with the following:

.modal-open { .pac-container { z-index: 1050 !important; } }

The .modal-open class is applied to the body tag when an ng-modal is open.

from ngx-google-places-autocomplete.

JanMesaric avatar JanMesaric commented on July 20, 2024

I'm experiencing the same problem of not being to able to run it inside a modal, more specifically a ng-bootstrap modal.

from ngx-google-places-autocomplete.

psenechal avatar psenechal commented on July 20, 2024

I just hit this problem this morning as well. It runs perfectly fine on a regular page. In a modal, I can see the network calls out to Google and the responses coming back, but the dropdown with the suggested addresses is not appearing.

from ngx-google-places-autocomplete.

nektobit avatar nektobit commented on July 20, 2024

@psenechal thank you, this CSS line save my day.

from ngx-google-places-autocomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.