fast
fast copied to clipboard
feat: anchored region point anchor and mouse tracking
📖 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:

🎫 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
- [ ] I have added a new component
- [ ] I have modified an existing component
- [ ] I have updated the definition file
- [ ] I have updated the configuration file
⏭ Next Steps
Draft PR, still need to add tests and update docs.