fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Hosted Panel animation jank when headerText is present

Open agg23 opened this issue 6 years ago • 5 comments

Environment Information

  • Package version(s): 7.105.6 and prior. 7.105.7 introduced a regression that causes the animation issues regardless of the presence of headerText

Please provide a reproduction of the bug in a codepen:

https://codepen.io/agg23/pen/LYVwavB

Actual behavior:

With version 7.105.6 and prior, a hosted panel (hostId passed to the Panel's Layer) pushes the entire body of the page to the left while animating in. This appears to be tied to the scrolling functionality of the body, but shouldn't happen regardless, particularly if the Panel is anchored in a non-scrolling parent.

In 7.105.7, #12195 was fixed, which causes this issue to occur persistently.

#10918 discussed this issue inherently, but no resolution was found at the time.

Expected behavior:

We should expect that the animation handles smoothly regardless of the hosting div, within reason. In this scenario in particular, where the host div is static, I would expect no changes in scrollbars whatsoever.

Priorities and help requested:

Are you willing to submit a PR to fix? Yes

Requested priority: Normal

agg23 avatar Apr 07 '20 14:04 agg23

@agg23 Thanks for submitting this issue and including the codepen! I can see the behavior that you're experiencing. We'll look into a bug fix!

joschect avatar Apr 07 '20 20:04 joschect

I'm seeing the same issue. Is there any ETA for a fix?

lidermanrony avatar Apr 10 '20 18:04 lidermanrony

Checking in, as this is blocking several Panel scenarios.

agg23 avatar Apr 29 '20 15:04 agg23

This also happens with DetailPanelV2

levymsft avatar Mar 29 '21 09:03 levymsft

Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons.

Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent.

msft-fluent-ui-bot avatar Feb 04 '22 17:02 msft-fluent-ui-bot