Skip to content

Conversation

@marcosmoura
Copy link
Contributor

@marcosmoura marcosmoura commented Sep 9, 2025

Dialog component, that is used under the hood by the DraggableDialog, was upgraded to use Motion Preview APIs, and that was making the component to misbehave.

This PR adds a bunch of performance optimizations as well, to better calculate the position of the DraggableDialog after the Motion upgrade.

…matic-dnd

* main: (211 commits)
  fix(docsite): add missing dependency for extract-storybook-llms target (microsoft#486)
  feat(react-19-tests): bootstrap react 19 integration tests (microsoft#468)
  feat(docsite): generate llms.txt (microsoft#476)
  docs(react-virtualizer): Update virtualizer stories to use the same storybook Meta format as contrib repo (microsoft#474)
  chore: bump react-components to latest and adjust types to support React 18 (microsoft#387)
  chore(deps-dev): bump @swc/core from 1.11.24 to 1.13.3 (microsoft#463)
  chore(deps-dev): bump patch-package from 7.0.0 to 7.0.2 (microsoft#465)
  chore(deps-dev): bump @swc/cli from 0.7.7 to 0.7.8 (microsoft#467)
  chore: migrate to nx 21.3.10 (microsoft#453)
  ci(dependabot): ignore major bumps (microsoft#461)
  chore(deps-dev): bump eslint-config-prettier from 10.1.5 to 10.1.8 (microsoft#460)
  chore(deps-dev): bump react-virtualized-auto-sizer and @types/react-virtualized-auto-sizer (microsoft#454)
  chore(deps): bump nrwl/nx-set-shas from 4.3.0 to 4.3.3 (microsoft#456)
  applying package updates
  feat(react-virtualizer): initial/stable release (microsoft#452)
  docs(gh): add issue templates (microsoft#442)
  feat(react-virtualizer): migrate package from fluentui core repo (microsoft#441)
  feat(react-gamepad-navigation): adding unit tests (microsoft#443)
  fix(react-gamepad-navigation): handling Gamepad API access denied (microsoft#416)
  fix(react-keytips): remove default event prevention in useHotkeys (microsoft#430)
  ...
@marcosmoura marcosmoura self-assigned this Sep 9, 2025
@marcosmoura marcosmoura requested review from a team as code owners September 9, 2025 14:34
@marcosmoura marcosmoura added the react-draggable-dialog Main label for the @fluentui-contrib/react-draggable-dialog package label Sep 9, 2025
…ce-after-motion-upgrade

* main:
  feat: enforce module boundary types (microsoft#487)
  feat: migrate repo to react-components 9.70.0 and resolve initial type issues with react 19 (microsoft#478)
@marcosmoura marcosmoura enabled auto-merge (squash) October 14, 2025 13:37
@marcosmoura marcosmoura merged commit 044dbb8 into microsoft:main Oct 15, 2025
5 of 6 checks passed
@marcosmoura marcosmoura deleted the fix/react-draggable-dialog/improve-performance-after-motion-upgrade branch October 15, 2025 12:38
marcosmoura added a commit to marcosmoura/fluentui-contrib that referenced this pull request Oct 15, 2025
…e-test-cases

* main:
  fix(react-draggable-dialog): improve calculation performance after motion upgrade on Dialog (microsoft#493)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

react-draggable-dialog Main label for the @fluentui-contrib/react-draggable-dialog package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The react-draggable-dialog drag-and-drop effect is very laggy.

2 participants