-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on IE since 5.0.0-0 at least #261
Comments
This is an issue for us as well. If it is only the var? You could re-write the css not using the var, doesn't look like to much an issue, otherwise I think Im left with forking the repo and doing it myself until a more permanent solution can be made. |
@cah-briangantzler That's what we did, we wrote a css specifically for IE. It wasn't much trouble |
Hey folks 👋 sorry for not responding to the issue here but I have been investigating this on-and-off since you reported it @laura-bergoens (thanks again for letting me know) This seems to be a quirk of postcss and ember addons 🤔I essentially was hoping that nobody using this addon would notice any of the internal things with postcss but it seems like there has been some leakage in this particular issue as well as issues like this #260 The good news is that this can be fixed. The idea would be that we make use of the preserve option on I have finally got my local dev environment setup to be able to test this in IE11 and hopefully I will have a solution soon 😄 |
@mansona Super cool ! Don't be sorry for not responding right away, Git issues are meant to be asynchronous discussions ;) Thanks again ! I'm looking forward getting your solution. In the meantime, we can override existing css for IE (it's not that much of a stretch) Thanks for your reactivity ! |
Any update on this, going to be having a release coming up and need to know if I have to fix this myself temporarily. Also since I believe it was the var statement, I saw this mentioned https://www.npmjs.com/package/css-vars-ponyfill . Not sure at all if that would help. |
So it took me a little longer than expected but it is working in the end 🎉 can you both try out ember-cli-notifications@next (version 6.1.0-0 prerelease) and see if it solves things for you? |
@mansona Hey, thanks for the release. |
Yea, sadly Im getting that as well. Going to have to look into forking and somehow fixing, got a release pending |
I should be able to fix this today, I know what the issue is and I know how to test it locally 👍 |
It looks like I was able to fix it quicker than I expected 😂before work starts! can you try v6.1.0-1 and see if it fixes it for you? you can always install these beta releases using |
That does at least show the notification without erroring. However the notification is the entire width of the screen. Height looks maybe correct, hard to tell |
For someone who doesn't use boostrap, it's all good ! Feel free to close the issue as resolved, or wait until those boostrap/notif conflicts are resolved. However, for me it is solved ! Thanks for your work <3 |
After issuing a regression on their repo : mansona/ember-cli-notifications#261 the person in charge of developing and maintaining ember-cli-notifications did his best to fix. Problem was ember-cli-notif were not working anymore on IE. We had to write a custom css for that issue. Now it's not necessary.
@cah-briangantzler are you sure that it's something in the ember-cli-notifications CSS that is causing this? can you inspect the element and let me know where the CSS is coming from? |
@kienhaw again are you sure that this new rule is coming from ember-cli-notifications? is your app public somewhere that I could take a look? is this just in IE or is it in other browsers too? |
Ill have to do that when I get home. It worked perfectly when I forked the repo and did the following commit. cah-brian-gantzler@21ffe81 I would assume that the new css being provided however it is would somewhat reproduce end end result of the css from this commit |
ok folks! I have finally figured it all out 🎉 Firstly @kienhaw thanks for pointing this out, it actually ended up being an issue with me copy-pasting code from a different project into here 🙈 it's fixed now. @cah-briangantzler can you try For anyone that is interested, essentially it seems like the postcss "polyfill" for css custom properties is not able to implement "scoped" variables correctly because of the way that the DOM works. So if we are supporting IE with the fallback syntax essentially all custom properties will be ignored 😫 you can read up more on postcss/postcss-custom-properties#1 My fix was to move all my custom properties back into the We're almost there folks! if nobody has any issues that they raise with |
@mansona Thanks for the new release (v6.2.0-0), it has fixed the css issue. Cheers mate! Great work there! |
It is no longer stretching the width of the screen. It now looks like there is no padding or margin.Just a thin block the height of the text in it. I was unable to get a screen shot. Will as soon as I can. Going to check with people and see if that is acceptable for the IE people, working towards not having to support them so wont matter eventually. Appreciate your work. FYI I also use boot strap V3 |
@cah-briangantzler so it's tough to figure out if this is something that I'm doing wrong somewhere 🤔 I have tried to issolate all of my CSS from the application CSS by adding a prefix (manually) to all classes and now I've added a prefix to all custom properties so it really should be isolated! If you could inspect the element and tell me if the styles that usually deal with the width/height of the notification are getting overridden by your own styles that would really help me out (and verify that it's not me doing something wrong on my end). Otherwise I don't know if I can diagnose this any more from afar unless I had access to the app to see what is going wrong 🤔 |
Totally understand, will get you that, didnt have time when I was checking it. |
The screen shot I tried to take was terrible. But I think I see the problem. For the classes .ember-cli-notifications-notificationcontainer .c-notificationcontent when it works the it has padding: .5rem 1rem; but on ie11 it has padding: var(--ecn-spacing-1) var(--ecn-spacing-2) . That is using 6.2.0-0 |
@cah-briangantzler I'm curious why you're seeing this issue and I'm not 🤔 I have run the ember-cli-notifications dummy app locally and it is using the correct spacing values in IE11. I wonder if it is perhaps something in your build 🤔 can you go to https://deploy-preview-262--ember-cli-notifications.netlify.com/ in IE11 on your end and click the "show notification" button. (Ignore the style of the documentation page, the notifications should be correct) |
@cah-briangantzler also seeing as it seems to now only be broken for you how do you feel about opening a new issue and that means I can release I'm happy to wait and get this right if you think it's best 😄 |
The above url looks like for me. Since its only the padding missing, I deployed using 6.2.0-0. Yes, close this issue and release a good copy. Ill try to look at it see why. Might have to ask you a couple questions on how you are deploying the css now in order to see if there is a problem in my build. |
Hi @mansona,
We've been using this great component in our project for a bit now.
We were using the 4.3.3 until now. We've updated to the latest version, and since then
the notifications do not display anymore on IE 11.
It's because of the var() property now being used in your component's css. Indeed, var() is not a supported property on IE.
My question is : have you officially drop support on IE or not ?
I'm obviously not requesting here that you make it happen (it's a lot of work, and let's be honest, IE...). I just want to know if you drop it or not, so we can adjust.
Thanks a lot, and thanks for the great work !
The text was updated successfully, but these errors were encountered: