GithubHelp home page GithubHelp logo

angular-deep-blur's People

Contributors

atesgoral avatar d9su avatar paracycle avatar unframework avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-deep-blur's Issues

Breaks in Electron due to module definition

The module definition looks like this:

    if (typeof define === 'function' && define.amd) {
        define([ 'module', 'angular' ], function (module, angular) {
            module.exports = factory(angular);
        });
    } else if (typeof module === 'object') {
        module.exports = factory(require('angular'));
    } else {
        if (!root.mp) {
            root.mp = {};
        }

        root.mp.deepBlur = factory(root.angular);
    }

Electron, but not Chrome, satisfies the "typeof module === 'object'" condition, but cannot then find the angular module.

Here is an example of a module definition that does not break Electron, from angular-cache, which uses webpackUniversalModuleDefinition():

    if(typeof exports === 'object' && typeof module === 'object')
        module.exports = factory(require("angular"));
    else if(typeof define === 'function' && define.amd)
        define("angular-cache", ["angular"], factory);
    else if(typeof exports === 'object')
        exports["angularCacheModuleName"] = factory(require("angular"));
    else
        root["angularCacheModuleName"] = factory(root["angular"]);
    }

In the second case, Electron drops down to the last "else" block; forcing deep-blur to do the same fixes the error. Further than that, I can't really say. But I am having to patch around this.

Place license in source file

Would it be possible to include the license info as a comment in the top of the file? Would make it easier to stay in compliance with the MIT license when running the script through concat/minify.

Not working in touch devices

I think in touch devices the blur is not working because are different types of clicks (click and touch).

I am telling this because I tested in PC browser and it worked well but in Android Chrome browser it dind't worked.

I tested with the example page and setted the device type in the Chrome tools to mobile and it worked but in what I did doesn't work the click outside and close in my case the search bar.

If someone need more information I can give.

Not working on IE 11

I tried the demo using IE 11 and the selection in the dropdown just hides [not selected] when clicked or focused on.

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.