Skip to content

fix: replace child items debounced sorting with flush: "post" watcher#1484

Merged
mlmoravek merged 1 commit intodevelopfrom
bug/1483/parent-provider-batching
Dec 4, 2025
Merged

fix: replace child items debounced sorting with flush: "post" watcher#1484
mlmoravek merged 1 commit intodevelopfrom
bug/1483/parent-provider-batching

Conversation

@mlmoravek
Copy link
Member

Fixes #1483

Proposed Changes

  • Replace the debounce sort function call in the useParentProvider composable with a { flush: "post" } watcher.
    • This solves the performance issues without needing to debounce, as the sort is now done after a Vue tick and multiple updates are batched together in a Vue-native way. Previously, a time interval was used to check for a sort order update, which resulted in a visual flashing effect.

@mlmoravek mlmoravek added the bug Something isn't working label Nov 25, 2025
@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for oruga-documentation-preview ready!

Name Link
🔨 Latest commit 54f9ded
🔍 Latest deploy log https://app.netlify.com/projects/oruga-documentation-preview/deploys/6925a24246dded0008904612
😎 Deploy Preview https://deploy-preview-1484--oruga-documentation-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mlmoravek mlmoravek changed the title fix(performance): replace child items debounce sorting with flush: "post" watcher fix: replace child items debounce sorting with flush: "post" watcher Nov 25, 2025
@mlmoravek mlmoravek changed the title fix: replace child items debounce sorting with flush: "post" watcher fix: replace child items debounced sorting with flush: "post" watcher Nov 25, 2025
@mlmoravek mlmoravek merged commit aece462 into develop Dec 4, 2025
12 checks passed
@mlmoravek mlmoravek deleted the bug/1483/parent-provider-batching branch December 4, 2025 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamically shown tabs appear out of order

1 participant