freeCodeCamp / CodeAlly-CodeRoad-freeCodeCamp

10 stars 5 forks source link

iframe shifts left leaving a blank space #44

Closed moT01 closed 1 year ago

moT01 commented 2 years ago

Once in a while, the whole iframe shifts to the left, leaving a white space on the right... Screen Shot 2022-03-26 at 8 27 01 AM

I think it may only happen when I have the preview button collapsed, but I'm not sure. I haven't seen it happen when it's expanded, but I've only seen it twice. I dug into the dev tools a little, it fixed itself when I un selected the transform for that button... Screen Shot 2022-03-26 at 8 32 34 AM

Not sure exactly what's causing it, but it seems to be something around that button. Pretty minor.

moT01 commented 2 years ago

I noticed there seems to be conflicting hotkeys. CodeRoad uses ctrl+enter to run tests or move to a new lesson. When I have the preview tab focused, it opens and closes the preview tab. I don't think the conflicting hotkeys is a problem - it may have something to do with the iframe shifting though.

moT01 commented 1 year ago

I haven't seen this in a while. I am going to close it for now. If the problem comes back, we can revisit.