codyhouse / codyhouse-framework

A lightweight front-end framework for building accessible, bespoke interfaces.
https://codyhouse.co/
MIT License
1.16k stars 171 forks source link

Strange Issue on Refresh (switching desktop / mobile views) - on certain components #48

Closed DaveBeirne closed 4 years ago

DaveBeirne commented 4 years ago

Hi,

I have updated the code framework to codyhouse-framework@2.6.1 gulp as i am having this strange issue where on all browsers even after flushing cache, and with no gulp sass or scripts errors, certain components i add to an existing projects on refresh show correctly then upon refreshing again it doesnt show correctly.

For example in this page i am using masonry gallery and see what happens: Video here: https://drive.google.com/file/d/1D7x2njlYrNlLptT3xpBiPehPVN_ySoJl/view?usp=sharing

Another example when refreshing the page on the mega-site-navigation When refreshing it switches between mobile version and dekstop Video Here: https://drive.google.com/file/d/16WMUGyVinhw3JT7f2ox9cH9q2C906woK/view?usp=sharing

its strange as there is no issues with other components

claudia-romano commented 4 years ago

Hi Dave, is this an issue you were experiencing before the upgrade as well? The new version of the framework comes with some additional util classes and JS easing functions which should not affect those components. I have beed testing it (mega site navigation on Chrome 80) and was not able to replicate the issue.

Could you please confirm you are including the JS file of the components right before the body closing tag?

Also, if you are including the CSS using the Githubissues.

  • Githubissues is a development platform for aggregating issues.