fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Bug]: Coachmark does not update position when another component changes layout

Open sopranopillow opened this issue 2 years ago • 0 comments

Library

React / v8 (@fluentui/react)

System Info

System:
    OS: Linux 5.15 Ubuntu 20.04 LTS (Focal Fossa)
    CPU: (20) x64 Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
    Memory: 42.89 GB / 62.66 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Browsers:
    Chrome: 113.0.5672.126
    Firefox: 104.0

Are you reporting Accessibility issue?

no

Reproduction

https://codesandbox.io/s/quirky-snowflake-11ks56?file=/src/index.tsx

Bug Description

Actual Behavior

The target is the Toggle, but it stays where it was initially rendered.

image

Expected Behavior

Coachmark should update its position to be where the toggle is.

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations

  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] The provided reproduction is a minimal reproducible example of the bug.

sopranopillow avatar Jun 01 '23 22:06 sopranopillow