- Introduced mobile optimization by disabling sticky behavior on screens narrower than 768px.
- Added functionality to dynamically update sticky behavior and styles upon viewport resizing.
- Implemented a new constant (
mobileWidth
) to define the mobile screen width threshold.
- Improved overall code readability and maintainability by restructuring logic for gap calculations and style updates.
- Enhanced the
resize
event handler to manage both resizing and mobile optimization in a single flow.
- Resolved potential issues where sticky styles would persist incorrectly on mobile devices.
- Addressed inconsistent handling of inline styles when switching between sticky and non-sticky modes.
- Added detailed inline comments explaining the logic, functions, and purpose of each code section.
- Introduced this
CHANGELOG.md
file to track project updates and changes.
- Author header to the files.
- Renamed
.gitattribute
to.gitattributes
. - Updated the
.gitattributes
file with improved definitions. - Tagged release as v1.6.
- Enhanced performance for slow-loading pages and dynamically loaded content.
- Capability to use gaps without additional CSS or specific attributes.
- Errors in positioning logic.
- Improved code efficiency.
- Updated
README.md
and example files. - Merged contributions adding new features.
- Support for gaps between the top/bottom of the viewport and the sidebar.
- Enhanced sidebar resizing behavior for different viewport sizes.
- Updated documentation with clearer examples.
- Rebuilt
StickySidebar.min.js
.
- Minor bugs in the logic.
- Updated JSFiddle demo link for better demonstration.
- Issues with sidebars smaller than the screen height.
- Typos in the code.
- Updated
README.md
for clarity. - Improved links in documentation for better usability.
- Initial release of the sticky sidebar feature.
- Included examples and a comprehensive
README.md
.