Skip to content

fix: emit stateChange event on swipe-action-item state change#1128

Open
ali-fuu wants to merge 2 commits intoumicro:masterfrom
ali-fuu:bugfix
Open

fix: emit stateChange event on swipe-action-item state change#1128
ali-fuu wants to merge 2 commits intoumicro:masterfrom
ali-fuu:bugfix

Conversation

@ali-fuu
Copy link
Copy Markdown

@ali-fuu ali-fuu commented Jun 11, 2025

When the component state is closed or opened, the parent component wants to know the state change to change its own logic. This is a very common use case.

@ali-fuu ali-fuu changed the title emit stateChange event on swipe-action-item state change fix: emit stateChange event on swipe-action-item state change Jun 11, 2025
@ali-fuu
Copy link
Copy Markdown
Author

ali-fuu commented Jun 11, 2025

When wxsInit is triggered, we should execute the queryRect method in nexttick to get accurate data

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant