fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Feature]: Image - Add migration documentation for center-contain and center-cover fit modes

Open spenoff opened this issue 7 months ago • 1 comments

Area

React Components (@fluentui/react-components)

Describe the feature that you would like added

The v8 Image component's ImageFit enum included centerContain and centerCover values that have no direct equivalent in the v9 Image component. The migration documentation does not mention these values or provide guidance on how to achieve equivalent behavior.

Proposed solution: Update the v8 → v9 migration guide for the Image component to:

  • Document how centerContain and centerCover map (or don't map) to v9
  • Provide CSS-based workaround examples using object-fit + object-position

Additional context

No response

Have you discussed this feature with our team

mainframev

Validations

  • [x] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Priority

Low

spenoff avatar Apr 12 '26 05:04 spenoff

This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. Still require assistance? Please add comment - "keep open".