-
Notifications
You must be signed in to change notification settings - Fork 49
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
BG dissapears when 'seen' #16
Comments
Hi Petr, ah, now I understand what @adam-wheatley meant at his self closed PR #15 % ). On the other hand, the Thanks for the clarification to #15 (was afk till today % )! Best, Tim. |
@petrpacas & @adam-wheatley, just published version OK - closing this issue wasn't my intention, the commit msg of 13470cb did do this by the wording (learning something new about GitHub every other day ; ). |
I'm afraid the issue persists for me 😢 - after switching pages back and forth the |
Yup, I gave it a go aswell and problem is still there |
OK, gonna sleep over it and try to dig into it tomorrow. Chromium and FF on Linux Mint 19.1 seemed to work, but alas : /. |
Hey there, sorry to say, won't come around to it till the weekend as of personal matters : /. Added Tags to this issue if someone would want to take on this before me... |
Hey, no worries Tim - I just went back to an older version for the time being |
@petrpacas, replies as your's still keep me believing in OSS-Culture : ). Thanks therefore! |
Cheers! I reverted to 0.2.61 - but only because I upgraded from that version - not sure where the issue started |
Thanks : )! |
Is the problem still existing after the merge of PR #18? At least here I can't reproduce it for the moment anymore oO... Now gbi is at |
Unfortunately, even with clean yarn/gatsby caches, this bug is still there for me... |
*miff* My weekend wasn't that great, so I found no time to dig into it. But I'm gonna keep it in mind. Edit: Though I could replicate the |
MacOS/Chrome here...
As for the example - I tried to extract the relevant bits here:
|
Hello I wonder if a combination of styled-component with HMR is not the issue here. I have had problems with it. Does it have the same behavior using |
As soon as I posted it I thought as much as well - sadly, no - same behaviour even when using straight-up BGI |
Hmm... What would solve this would be to just remove But I believe this shouldn't be needed, correct? |
Thanks for your efforts, more than appreciated! Edit: wrong brackets in the sentences. |
I haven't checked the code, but I was very surprised that somebody managed to convert the original Well, you made a plugin that is filling a very important feature gap for Gatsby, so there you go 💪🎉 |
Aww, thanks, that's nice of you to say : )! |
Nice, I love FCC! |
Now, after digging into the problem it seems to be solved for the moment - at least when I tested it Cause it seemed to run, but Chrome brought the macOS VM down to a crawl (no problems in FF & Safari) and having both VMs (with 8GB and 2 cores each) running, while having open 3 IntelliJ Idea and some browser windows brought even my dev-rig (i7-9700K with 32GB of RAM) nearly down to unresponsiveness % ). Have (definitely!) still work TODO on the transitions, but your initial issue seems fixed for the moment |
Indeed, the BG doesn't hide anymore - good job! 👏 Haha, I have basic 2013 Macbook Air, I could never run that kind of op 😅 (Btw, not sure if applicable for you, but give VS Code a go 👍)
|
I used Code on the VMs to test it with Will look into the other issue, though I didn't get the |
All your work is very appreciated! Don't stress about the warning tho, most likely something on my end... EDIT: Indeed, the warning is now present even for older versions of GBI - so - it's unrelated... EDIT2: Okay - I get the warning because I have too many single-file queries on a certain page. I could do an |
Thanks a lot for the compliment (I'm bad at receiving them ; )! EDIT: Forgot a 'the'. By the way we're at |
Haha, I'm bad at that as well, no worries 🙌 Transform function... will have to read that up 🤔 |
Don't know if "transform function" is an official term, just describes what it does. You can look one up in my "Portfolio Page" project for fCC here, though it uses |
@petrpacas Now we're at |
Wasn't aware my issue was related to transitions, but yeah, I did notice the stopped being nice at some point... Well, they do look very nice now 😉 PS: Okay, I thought there was some "transform function" in GraphQL, I see what you mean now. Thanks for the suggestion 🙏 EDIT: I just got around to reading about the stacking context - that |
Yeah, had everything to do with transitions (or better: my implementation of them on state change), same with issues #10 and #13. Opposed to Rewrote my rewrites for the The opacity hack still seems to be needed, indeed - am not completely happy with it myself, but the alternatives seemed worse in context of stacking (context)... And you're welcome, of course, digging out a link to my own repo's file wasn't that hard a work to do ; ). There are schema transforms in GraphQL, but as the name says, they'd have to be applied after schema creations and thus on the backend side of Gatsby - methinks the above is easier ; ). |
Not sure if this is exactly the same issue but I'm on Windows Chrome with the 0.2.8-alpha4 patch and it's not working. When navigating back to a page with bg image you've already been on there is no background-image property in the :before tag although there is one in the :after tag. Just thought I would report some more on this issue. Also checked on mac chrome. Was ok with an older version on mac. |
Hi @itwasmattgregg, might I guess you meant Mac Chrome (in a macOS Mojave VM ; ) is most of times to slow for a real "testing" experience, |
Yea I meant that alpha4 sorry. I'll test on my windows machine when I get home this evening. Thanks for looking into it. I'll check my Chrome version as well. |
|
Hi @itwasmattgregg! Did you already get the chance to test Thanks in advance, Tim. |
It works :) Honestly something most likely happened with the yarn install that didn't actually install the right package when I was on the windows machine. It all works fine now with 0.2.8-beta. Thanks! |
Great, @itwasmattgregg : )! Sometimes one just needs to "use the force" ( And @petrpacas: Would you wanna have the honors of closing this issue, or shall I? |
Thank you, good sir 🤙 |
@petrpacas Wow, that was fast : ). And you're welcome, of course! I always rather like (hopefully satisfied ; ) authors to close their issues themselves, would feel rude to me if I just did it ^^. |
It's kind of you to want to do that. But indeed that's bit of an overkill IMO :-) I'm not a big OSS contributor, so I don't know if it's a common practice to mention them 🤷♂️ |
Methinks it's common in bigger projects, but why not "lead by example" for smaller ones ; )? Added the question to the CONTRIBUTING file, so just let's wait, what others have to say. |
Hey Tim,
after your recent changes, after you run across an already
'seen'
bg-image (which also gets logged to the console now), the image dissapears.Also, not sure if the
opacity: 0.99;
of the parent element is okay for the child elements of such container?The text was updated successfully, but these errors were encountered: