Skip to content

Callout slow performance #3898

@richardtagger

Description

@richardtagger

Bug Report

  • Package version(s): 5.45.1
  • Browser and OS versions: Chrome Latest / MacOS High Sierra

Are you willing to submit a PR to fix? No

Requested priority: Normal

Products/sites affected: Yammer

Yammer are trying to use Callout for type ahead suggestions in the message publisher. Looking at flame graphs when debugging performance reveals hundreds of milliseconds spent recalculating styles in Stylesheet.js and async.js. The calls originate from from Callout. Features that are highly interactive and re-render on keypresses etc may laggy performance. Disabling animations in CSS does not alleviate the problem as it appears to be spinning inside of positioning logic.

Use of Callout is here https://github.com/Microsoft/YamUI/blob/master/src/components/SuggestionsList/SuggestionsList.tsx#L82

screen shot 2018-02-06 at 12 01 18 pm

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions