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
Screenshot preview is overlaying permalink #1274
Comments
Here is an example of a profile with screenshots: https://perfht.ml/2MKT5Hy. This is where the z-index for the permalink is defined: This is where the z-index for the screenshot hover is defined: So it "looks like" that the stacking contexts are well defined. But the permalink is actually inside the I tried to manually remove this z-index with the devtools, and this seems to fix the issue. But this z-index has been added as part of the work on tooltips by @gregtatum, so I think that for tooltips it is actually intended that they'd go over the application's "chrome". So the solution might be that we want to add the screenshots to a separate root element than the one for tooltips ( This is where we define which element the screenshots are added to: I think this could be easily taken by a contributor, so I'm marking it like so. The MDN documentation about stacking contexts could be useful, as this bug is a direct application of it. |
@julienw May I take this issue? Thanks 😄 |
@hritvi of course you can, thanks for your help ! Is there anything else I can help with ? |
Also use the common root-overlay element as a mount point. Fixes firefox-devtools#794, fixes firefox-devtools#1274
Hi @julienw happy to give this a go |
Hey @hritvi, because I got no answer from you, I'll remove the |
Hey @julienw I would like to work on this! |
Hey @Anshika-G, sure ! You can look at the comment #1274 (comment) for some direction, but please ask if you need anything else ! |
Hey @Anshika-G, could you work on this? Do you need some more help getting started? Thanks! |
Removing the |
Hey @julienw , can I look into this issue ? |
Hey @PhoeniXAbhisheK, I just assigned #1371 to you. Let's wait until you fix that one. This issue is up for grabs in the meantime. |
@canaltinova yes sure 🙂 🙂 🙂 🙂 🙂 |
Hi @julienw , I would like to work on this issue :) CC: @canaltinova |
hey @rajmeghpara, sure! Thanks for your help :) |
As discussed on Slack, @rajmeghpara will work on another issue, so this one is now up for grabs! |
@julienw Could I have this bug assigned to me? Thanks! |
hey @lloan, are you still working on this? Please let us know and we can help you if you are blocked on anything :) |
Thanks for asking @canaltinova! Been working on the netmonitor tools project and as that one is on Phabricator, this one completely slipped my mind. If anyone else is interested in working on it, please do assign it to them, otherwise, I can work on it this week. Thanks a ton! |
@lloan thanks for letting us know :) I'll unassign it so someone can grab it if they are interested. Let us know if you want to work on it again :) |
Hi @canaltinova @julienw ! I would like to help with this issue, can I try? :) |
Hey @alejandroclose, yes sure, that would be lovely! Assigning to you then :) |
@julienw I'm sorry but I haven't been able to see this, and I believe I won't have time for the next weeks... Maybe if it's still available I can retake it. Thank you for the opportunity and sorry again for any inconvenience. |
I would like to take up this issue as my first contribution! Can I take this up? |
@rbrishabh Sure, assigning it to you. Let us know if you need anything! |
hey @rbrishabh, could you have a look at the issue yet? Do you need anything? Thanks! |
Yes. I read through everything you posted. I just had some trouble with my machine which is fixed now. I will work on this right now and I'll comment here if I get stuck. Thanks! |
Hi @julienw! I am sorry for the delay. I have read through this entirely. So this is what I need to do:
So I think I can change the value of z-index in timelineTrackScreenshotHover css class in TrackScreenshots.css to 12? Would that be okay? Also, what other root element can I use instead of "root-overlay"? Thanks a lot. I am just getting started so the questions might be a little off the mark. I hope you don't mind. |
Hey @julienw ! I am waiting for your response! Please help me get this sorted whenever you can find a little time! Thank you! |
Hey @canaltinova ! I was wondering if this is still relevant? :) |
Hey, sorry for the delay, as I was away for holidays! (and as was @canaltinova :) ). You can use a new root element called Also the best way to get started is actually write the code and see if this fixes the problem ;) Then you can ask feedback by pushing the code to a draft pull request so that we can have a look at some actual code. I hope this is clearer! Please ask if you need anything more :) |
See the prior PR #2187: this isn't as easy as we initially thought, and will need some investigation to fix this. That's why I've removed the "good first issue" label. |
Hi @julienw Can I work on this? |
Hi, I would like to work on this issue. |
STR:
=> as you'll notice, the screenshots are going over the panels. But they should go below, ie, the panels should be on top.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: