v.2.6.5
Polirizer Release Notes
Version 2.6.5
New Features
- Implemented a dynamic character counter and progress bar for the input textarea
- Inspired by Sarah Okolo's article on creating a textarea character limit indicator
- Source: https://dev.to/sarahokolo/creating-a-textarea-character-limit-indicator-5fol
Bug Fixes
- Fixed an issue where the progress bar was not displaying correctly when entering text
- Resolved a ReferenceError related to undefined progress bar elements
- Improved error handling for missing DOM elements
Improvements
- Enhanced the character counter functionality
- Progress bar now accurately reflects the current input length
- Color of the progress bar changes dynamically based on input length
- Remaining character count is displayed when nearing the maximum length
- Optimized the display of the progress container
- Now only shows when there is input in the text area
- Initially hidden to improve user interface cleanliness
Developer Notes
- Refactored
charCounter
function for better reliability and performance - Added error logging to assist with future debugging
- Ensured all DOM manipulations occur after the document has fully loaded
- Special thanks to Sarah Okolo (https://github.com/Sarah-okolo) for the character counter inspiration
Known Issues
- None at this time
We recommend all users update to this version for the best experience with Polirizer. This update includes a new feature inspired by the developer community, demonstrating our commitment to continuous improvement and collaboration.