ng2-ui / overlay Goto Github PK
View Code? Open in Web Editor NEWGeneral Solution For Angular2 Overlay Elements
Home Page: https://ng2-ui.github.io
License: MIT License
General Solution For Angular2 Overlay Elements
Home Page: https://ng2-ui.github.io
License: MIT License
Open wrong overlay because there is a duplicated id in the page.
Hi,
I'm having this issue when opening the overlay, some input and other components are not overlayed.
To test it:
Go to the demo and open the window overlay. A couple of buttons will be shown on top.
Using Chrome on Mac, but still reproducible with Safari and also with Chrome on Windows.
Thanks!
Regards
When using ngui/popup, the original web page can still be scrollable.
Is it possible to add this code when popup opened:
document.body.style.overflowY = 'hidden';
and add this code when popup closed:
document.body.style.overflowY = null;
I can't find the tests folder anywhere - neither on git or the node-module. Could you please provide an example of how to use this component?
The ng2-overlay component imports BrowserModule, this causes code that is built upon lazy loaded modules to fail with the following message:
EXCEPTION: Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
The import of the BrowserModule should be the responsibility to the base loader and not be done in a component like this. Please use CommonModule instead.
Can you add the src folder to the npm package on root level? The map files refers to this, but it doesn't exists, which renders the map files useless.
It would be nice if the overlay manager had a couple more methods:
I just tried to install on Angular 4 today and got this error:
frontend
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
└─┬ [email protected]
└── [email protected]
npm WARN [email protected] requires a peer of @angular/core@^2.1.1 but none was installed.
npm WARN [email protected] requires a peer of @angular/common@^2.1.1 but none was installed.
Any chance Angular 4.0.0 support is coming? I don't know much about how this library works, but I can try to dig in later this week and test it out if that's helpful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.