Skip to content

Fix Repeated Initialization and Dynamic Component Setup Issues #4363

Description

@huajiqaq

#4364
I have created a PR with the following fixes and improvements:

  1. 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
  2. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions