Giter Site home page Giter Site logo

Comments (4)

mainawycliffe avatar mainawycliffe commented on May 27, 2024

Greetings,

I would love to help, can you send me the lint to the component where you were trying to implement this.

from ng-cdk-overlay-demo.

hhubik avatar hhubik commented on May 27, 2024

I think I know what the problem is. Though I don't know yet how to fix it. Your demo code uses bulma. My app uses bootstrap (without jquery) and Angular Material.

After commenting out

      panelClass: ['modal', 'is-active'],
      backdropClass: 'modal-background' // ,

I actually see the overlay background pop up (and go away if I click on it). I don't yet see the expected content, which at the moment is just a string.

The component where I am using the Overlay Service is called ProviderSearchByActionViewComponent.

See the onShowFullInfoDocButtonClicked function at the end of the file.

Though the actual opening of the overlay happens in PtReportConfigurationService.

from ng-cdk-overlay-demo.

mainawycliffe avatar mainawycliffe commented on May 27, 2024

Yeah, bootstrap modal css class work a little bit different from bulma css. I can't recall of my head, but let me have a look at how I used to do this.

from ng-cdk-overlay-demo.

hhubik avatar hhubik commented on May 27, 2024

Thanks, but I have just managed to solve this by using the Angular Material Dialog component. It appears to do what I need out-of-the-box. I still appreciate your overlay project. It helped me better understand how the overlay works, and that is helpful as the Dialog is based on the Overlay.

from ng-cdk-overlay-demo.

Related Issues (3)

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.