Share Posted March 31, 2017 I'm at a loss here folks. lol Basically, if you check out the Codepen, and try to scroll up or down no scrolling occurs... If you manually resize the window then the scrolling magic happens. Has anyone encountered anything like this before? Thanks, Nick See the Pen editor by kreendurron (@kreendurron) on CodePen Link to comment Share on other sites More sharing options...
Share Posted March 31, 2017 Tough to diagnose because the file is marked "read only", so we can't really tweak things effectively but did you try doing a console.log() of your "delta" variable to make sure it's what you expect? Also, are you seeing this problem outside of codepen? I wonder if it's an issue with their new "projects" feature [preview]. Link to comment Share on other sites More sharing options...
Author Share Posted March 31, 2017 I'm thinking it may have to do with a conflict with the yay.min.js sidebar... not sure yet. I'm getting exact same results in Brackets.io editor... I just uploaded to a codepen project to show what I'm seeing. This was the codepen that i've been trying to implement into my site: See the Pen kDvmC by bassta (@bassta) on CodePen Link to comment Share on other sites More sharing options...
Author Share Posted March 31, 2017 Then I was able to get it working without the yay.min.js sidebar functionality in this pen See the Pen mWJKMW by kreendurron (@kreendurron) on CodePen Link to comment Share on other sites More sharing options...
Author Share Posted March 31, 2017 but even removing the yay sidbar script and css file out still has same effect in my full project, so i dont know.. Link to comment Share on other sites More sharing options...
Share Posted March 31, 2017 Can you provide a reduced test case [regular] codepen that's editable? That'd sure help with troubleshooting. 2 Link to comment Share on other sites More sharing options...
Author Share Posted April 3, 2017 https://codepen.io/kreendurron/project/editor/AbBNmA/ I ended up finding out that it was simply a problem with me including the doctype in codepen. I removed it and it works fine now... *facepalm Link to comment Share on other sites More sharing options...
Author Share Posted April 5, 2017 Okay.. I take it back. It's not just codepen... Removing <!DOCTYPE html> from the index... allows the page to scroll without resizing... http://higherskies.com/v2.3/ I've uploaded it to my test server... if I were to remove the <!DOCTYPE html> the scrolling would work just fine... obviously I can't just publish the page without the doctype... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now