I'm back.
After noticing a fixed division issue at the top of the viewport, I discovered that Chrome was scrolling too much. To test this behavior, I've created a page where you can see how various browsers handle scrolling, particularly Chrome which seems to be struggling.
You can check out the demo here. The page includes detailed instructions on how to use it and replicate the Chrome problem.
For those who have previously criticized me for not sharing the code, here it is in its entirety. Feel free to analyze every part of the HTML and CSS to identify any issues.
If you're unsure whether the snippet will work, simply visit the page and give it a try yourself.
A function called resize() has been defined to handle the height adjustments based on the fixed-header's size and additional space requirements. There are also functions for button clicks and filling the page with text content.
The CSS classes for buttons, instructions, fixed header, button bar, and content have been specified to control their appearance and positioning on the page.
Feel free to explore the page and share your feedback.
I've primarily tested the functionality on Chrome and Firefox. If you have access to other browsers, please test the page and let me know how they perform compared to Chrome and Firefox.
Detailed instructions are available on the page to guide you through the testing process.
Additionally, there is a page with screen captures showcasing the demo's performance.
There is now an alternative version of the demo specifically designed to address the Chrome bug by making adjustments to the fixed-header section. You can find a link to this modified page on the original demo page.
If you have tried the demo on higher screen resolutions or different browsers, especially IE, please share your results with me.
Considering the lack of responses so far, I am contemplating providing a step-by-step script for testing across different browsers like Chrome and Firefox using various height buttons. Would this be helpful?
At this point, I have reported the issue as a Chrome bug, but I'm still interested in hearing from users who have tested the demo on browsers other than Chrome or Firefox. Any insights would be greatly appreciated.
As I continue to investigate, it seems like this specific query may have left everyone stumped. Regardless, I will keep exploring solutions while waiting for updates on the Chrome bug report. Your valuable input is always welcome.