3

Stack doesn't expose either componentRef or ref property. How can we obtain react ref to it? In my scenario, I want to use it with useResponsiveMode.

A workaround is to wrap Stack with a parent div.

qxg
  • 6,955
  • 1
  • 28
  • 36
  • 1
    I have the same UC. Currently there is just one way for implementation with `parent div`. How about to open a feature request on their GitHub ?https://github.com/microsoft/fluentui/labels/Component%3A%20Stack – Marko Savic Jun 21 '21 at 13:55

0 Answers0