Fix Repeated Initialization and Dynamic Component Setup Issues
Author: huajiqaqCreated Dec 31, 2025Updated May 19, 2026
https://github.com/framework7io/framework7/pull/4364 I have created a PR with the following fixes and improvements:
- Bug Fixes data-table: Fixed an issue where handling repeated initialization incorrectly cleared previously created properties when returning existing instances pull-to-refresh: Prevented possible duplicate initialization and ensured MD theme completion events are properly triggered toolbar: Added warning when scrollable property is active but tab width measurement is zero Initialization checks: Added duplicate initialization guards to several components
- New Features (Vue/React/Svelte) page-content: PTR and infinite loading will now automatically initialize when set dynamically after pageInit tabs: Swiper will now automatically initialize when swipeable property is set dynamically after pageInit (added swiper init method to support this) Note: These dynamic initialization features are not implemented for vanilla JavaScript components since they lack mounted lifecycle hooks
Source: framework7io/framework7