fast icon indicating copy to clipboard operation
fast copied to clipboard

feat: anchored region point anchor and mouse tracking

Open scomea opened this issue 3 years ago • 0 comments

📖 Description

Note: based on this branch, will reconcile after that's merged: https://github.com/microsoft/fast/pull/6260

Anchored region did not support anchoring to arbitrary coordinates. This change adds support for that as well as a mouse tracking option.

Performance for having a tooltip like region tracking the mouse and flipping away from container edges is very good:

image

🎫 Issues

Someone mentioned context menus positioned by mouse click would be hard to do, this hopefully addresses that.

📑 Test Plan

Still need to add tests.

✅ Checklist

General

  • [ ] I have included a change request file using $ yarn change
  • [ ] I have added tests for my changes.
  • [ ] I have tested my changes.
  • [ ] I have updated the project documentation to reflect my changes.
  • [ ] I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

⏭ Next Steps

Draft PR, still need to add tests and update docs.

scomea avatar Sep 21 '22 21:09 scomea