-
Notifications
You must be signed in to change notification settings - Fork 175
Content is Whited Out and Barely Visible #33
Comments
using z-index in css does not resolve the problem. |
I tried setting overlayOpacity: 0, but that doesn't work either. IF I could get the overlayOpacity option to work, what would be a valid range of numbers [0 -100]? [0.0-1.0]? |
I foud out the range is [0.0-1.0], but that doesn't affect the whited out content, just the darkened rest of the screen. |
After opening app > bower_components > intro.js > introjs.css, I was able to toy around with the z-index and transparency for the .introjs-helpLayer and .introjs-overlay css classes. However, I can't exactly match the content brightness in the plunker example. Any ideas? It appears that I have to overlay my content with a white emphasis block (.introjs-helperLayer), but I have to make the white at just the right level of transparency so that the content is visible. However I set it, the overlay darkens the content I'm trying to emphasize... so My site is kind of in an odd state at the moment. I would really appreciate any help on this! Cheers! |
Is there a set of preferred z-index settings to get the same output as the plunker demo? |
I think the site linked below demonstrates the issue I'm currently having (Even if it is another angular open source's demo). |
I ran into the same problem. This is most likely a stacking-context issue. I didn't write the plugin, but I'm pretty sure for it to work properly the element being highlighted needs to be in the same stacking context as the transparent background. Otherwise the transparent background sits above the thing being highlighted and the opacity is applied. It looks like the plugin does some work to try and erase other stacking contexts; specifically it adds this rule: However, there are other ways to create stacking contexts (e.g. applying a transform rule). Click the demo button and I'm pretty sure you'll see the effect you're describing. The only difference between my plunker and the official is this extra css rule: .jumbotron { Hope that helps! EDIT: Note that this is definitely an issue in the underlying intro.js plugin; I don't think it has anything to do with the angular wrapper. |
I have made these layers the same, but it did not resolve the issue. I've On Tue, Nov 4, 2014 at 3:47 PM, Ian McDowell notifications@github.com
|
To clarify, z-index is relative to stacking context, there's no such thing as an absolute z-index. So you could have element 1 with a z-index: 100000, and element 2 with a z-index: 1, but element 2 can show on top. This happens when element 2 is on a stacking context that sits on top of the stacking context of element 1. I made the simplest plunker I could think of to show this: http://plnkr.co/edit/qjGGMBtRhADGCRsEixW1?p=preview |
Hi all, I had same issue. The problem was I was applying background color to parent element. After I applied background color to the element this issue was resolve.. Please correct me if I'm wrong.. |
Same as here, did you guys solve this problem? |
I am having the same issue, is there a status update on this? |
+1 |
@chino23 I ended up using other intro plugin :( |
@lfreneda which one? |
Thanks! |
I have been experimenting with this directive and was seeing the same issue. On a parent, of the tour element that was showing the problem, I have this css declaration:
That declaration helps with some transition effects that are applied to other children. To fix the issue, I updated the introjs.css to be:
so removing the child 3d space that the transform-style created fixed the issue. Hope this helps others. |
@Shawful some help ? |
Has anyone noticed that when placing id='step1' on an image or text, angular-intro.js will place a white transparent section which covers the content? I want the content to pop, not be covered up.
Any idea what I might have done wrong?
Has anyone else encountered this and know of a work around? or fix?
The text was updated successfully, but these errors were encountered: