Giter VIP home page Giter VIP logo

ember-modals's People

Contributors

ember-tomster avatar juliogarciag avatar solirvine avatar

Stargazers

 avatar  avatar  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

ember-modals's Issues

Application route mixin not found

Ember 2.4.3
Ember-CLI 2.4.3

import ApplicationRouteMixin from 'ember-modals/mixins/routes/application';

Migrating from ember 1.X to 2.X I started getting this error.

Question about ember-modals on IE8 / plans for supporting Ember 1.13

Hi,

I've just tried out your demo on IE8 and ran into some problems. The modal opens but isn't shown correctly. The tests are failing on IE8 but I didn't look at the errors closely yet.

I'm curious to know if supporting IE8 is something that you are interested in doing. It seems like it could be possible because the modal does show (at least somewhat) on IE8. Obviously this would only be for a version that's compatible with Ember 1.13 as IE8 will go away in Ember 2.0. For me it's ok if the solution is that I need to add a polyfill for some functionality that's missing in IE8. If this is the way to go, could you point me in the right direction for which polyfills I'd need to use?

This leads me to my next question: Are you planning to release a version that works with the Ember 1.13 libraries (ember, ember-data, ember-cli, etc)? I haven't tried your library yet in my app that uses Ember 1.13 so it might even work now. I'm asking because I saw that the demo used Ember 1.10.

Thanks, Ben

no action handler for: closeModal

Hi,
I've just started with this ember addon, but I still can't solve my problem. Component can't find closeModal action. And close button from option "showCloseButton" works.

welcome-dialog.hbs:

<h2>Welcome!</h2>
<button {{action 'closeModal'}}>Close</button>

welcome-dialog.js:

import Ember from 'ember';

export default Ember.Component.extend({
});

route template:

<button  {{action 'showModal' 'welcome-dialog' this target=modals}}>
  Show welcome with context
</button>

application.hbs

{{outlet}}

{{ember-modals}}

Error: Uncaught Error: <test-app@component:welcome-dialog::ember716> had no action handler for: closeModal

Firefox doesn't transition box shadow

Low priority - stylesheets considered complementary, not core. For example, use any included animation in a current Firefox browser and watch the box shadow around the modal content.

Cannot open from inside component

You get this.showModal is not a function. It's redundant to have to send an action outside of the component when the component is the thing responsible for this modal.

Modal closing is not animated

I figured out today that this happened after updating from 0.2.1 to 0.3.4. After some debug i found that the problem happened here: https://github.com/sir-dunxalot/ember-modals/blob/master/addon/views/modal.js#L81. The problem is that outletBeingClosed is "modal" and this.get('outlet') is undefined. After going back to 0.2.1, i found that everything worked because both outletBeingClosed and the outlet property were both undefined.

I followed the steps of creating a template, setting the mixin in the application route and calling showModal from the controller. I wanted to keep diving in the code to figure out what happened but i don't know too much about ember internals to know why the call here returns undefined.

PD: My Ember version is 1.10.0 and my Ember-CLI version is 0.2.0.

Close modal being used in place of hide

In the wiki for usage, closing a modal was incorrectly using

this.get('modal').close()

instead of

this.get('modal').hide()

edited the wiki to fix the problem

Clicking overlay on iPhone

Clicking the overlay does not always close the modal on iOS. Expected behaviour is the overlay closes when tapped but not pinched, etc.

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.